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.CacheService#createCacheConfigIfAbsent(com.hazelcast.config.CacheConfig, boolean)
is called.This operation's purpose is to pass the required parameters into
CacheService#createCacheConfigIfAbsent(com.hazelcast.config.CacheConfig, boolean)
.
name
Constructor and Description |
---|
CacheCreateConfigOperation() |
CacheCreateConfigOperation(CacheConfig config) |
CacheCreateConfigOperation(CacheConfig config,
boolean isLocal) |
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) |
getName
afterRun, beforeRun
getCallerAddress, 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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
public CacheCreateConfigOperation()
public CacheCreateConfigOperation(CacheConfig config)
public CacheCreateConfigOperation(CacheConfig config, boolean isLocal)
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class AbstractOperation
public Object getResponse()
getResponse
in class AbstractOperation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractNamedOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractNamedOperation
IOException
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.