public class CacheCreateConfigOperation extends AbstractNamedOperation implements IdentifiedDataSerializable
This configuration is created using the following algorithm;
CacheCreateConfigOperation operation to the calculated partition which will force all
clusters to be single threaded.AbstractCacheService.createCacheConfigIfAbsent(com.hazelcast.config.CacheConfig) is called.This operation's purpose is to pass the required parameters into
AbstractCacheService.createCacheConfigIfAbsent(com.hazelcast.config.CacheConfig).
name| Constructor and Description |
|---|
CacheCreateConfigOperation() |
CacheCreateConfigOperation(CacheConfig config) |
CacheCreateConfigOperation(CacheConfig config,
boolean createAlsoOnOthers) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getNameafterRun, beforeRungetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitreadData, writeDatapublic CacheCreateConfigOperation()
public CacheCreateConfigOperation(CacheConfig config)
public CacheCreateConfigOperation(CacheConfig config, boolean createAlsoOnOthers)
public Object getResponse()
getResponse in class AbstractOperationpublic boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>returnsResponse in class AbstractOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionpublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializableCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.