com.hazelcast.multimap.impl.operations
Class MultiMapOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.multimap.impl.operations.MultiMapOperation
- All Implemented Interfaces:
- DataSerializable, IdentifiedDataSerializable, RemotePropagatable<Operation>, PartitionAwareOperation
- Direct Known Subclasses:
- ClearBackupOperation, ClearOperation, ContainsEntryOperation, EntrySetOperation, KeySetOperation, MultiMapKeyBasedOperation, SizeOperation, ValuesOperation
public abstract class MultiMapOperation
- extends Operation
- implements PartitionAwareOperation, IdentifiedDataSerializable
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
name
protected String name
response
protected transient Object response
MultiMapOperation
protected MultiMapOperation()
MultiMapOperation
protected MultiMapOperation(String name)
getResponse
public final Object getResponse()
- Specified by:
getResponse
in class Operation
getServiceName
public final String getServiceName()
- Overrides:
getServiceName
in class Operation
afterRun
public void afterRun()
throws Exception
- Specified by:
afterRun
in class Operation
- Throws:
Exception
beforeRun
public void beforeRun()
throws Exception
- Specified by:
beforeRun
in class Operation
- Throws:
Exception
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in interface RemotePropagatable<Operation>
- Specified by:
returnsResponse
in class Operation
hasListener
public final boolean hasListener()
publishEvent
public final void publishEvent(EntryEventType eventType,
Data key,
Object value)
toObject
public final Object toObject(Object obj)
toData
public final Data toData(Object obj)
getOrCreateContainer
public final MultiMapContainer getOrCreateContainer()
getValueCollectionType
public final MultiMapConfig.ValueCollectionType getValueCollectionType(MultiMapContainer container)
isBinary
public final boolean isBinary()
getSyncBackupCount
public final int getSyncBackupCount()
getAsyncBackupCount
public final int getAsyncBackupCount()
writeInternal
protected void writeInternal(ObjectDataOutput out)
throws IOException
- Specified by:
writeInternal
in class Operation
- Throws:
IOException
readInternal
protected void readInternal(ObjectDataInput in)
throws IOException
- Specified by:
readInternal
in class Operation
- Throws:
IOException
getFactoryId
public int getFactoryId()
- Description copied from interface:
IdentifiedDataSerializable
- Returns DataSerializableFactory factory id for this class.
- Specified by:
getFactoryId
in interface IdentifiedDataSerializable
- Returns:
- factory id
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.