public abstract class QueueOperation extends AbstractNamedOperation implements PartitionAwareOperation, IdentifiedDataSerializable, NamedOperation
AddAllOperation.| Modifier and Type | Field and Description |
|---|---|
protected Object |
response |
nameGENERIC_PARTITION_ID| Modifier | Constructor and Description |
|---|---|
protected |
QueueOperation() |
protected |
QueueOperation(String name) |
protected |
QueueOperation(String name,
long timeoutMillis) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
void |
beforeRun() |
protected QueueContainer |
getContainer() |
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
protected QueueService |
getQueueService() |
Object |
getResponse() |
String |
getServiceName() |
boolean |
hasListener() |
void |
publishEvent(ItemEventType eventType,
Data data) |
getName, readInternal, toString, writeInternalexecutedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetIdreadData, writeDatagetNameprotected transient Object response
protected QueueOperation()
protected QueueOperation(String name)
protected QueueOperation(String name, long timeoutMillis)
protected final QueueContainer getContainer()
public final Object getResponse()
getResponse in class Operationpublic final String getServiceName()
getServiceName in class Operationpublic void afterRun()
throws Exception
public void beforeRun()
throws Exception
public boolean hasListener()
public void publishEvent(ItemEventType eventType, Data data)
protected QueueService getQueueService()
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializableCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.