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.ICacheService.putCacheConfigIfAbsent(com.hazelcast.config.CacheConfig) is called.This operation's purpose is to pass the required parameters into
ICacheService.putCacheConfigIfAbsent(com.hazelcast.config.CacheConfig).
nameCALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID| Constructor and Description |
|---|
CacheCreateConfigOperation() |
CacheCreateConfigOperation(CacheConfig config) |
CacheCreateConfigOperation(CacheConfig config,
boolean createAlsoOnOthers) |
CacheCreateConfigOperation(CacheConfig config,
boolean createAlsoOnOthers,
boolean ignoreLocal) |
| 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() |
String |
getServiceName() |
void |
onExecutionFailure(Throwable e)
Called when an Exception/Error is thrown during operation execution.
|
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getName, toStringafterRun, beforeRungetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, 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 CacheCreateConfigOperation(CacheConfig config, boolean createAlsoOnOthers, boolean ignoreLocal)
public String getServiceName()
getServiceName in class Operationpublic void onExecutionFailure(Throwable e)
OperationonExecutionFailure in class Operatione - Exception/Error thrown during operation executionpublic Object getResponse()
getResponse in class AbstractOperationpublic boolean returnsResponse()
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 © 2016 Hazelcast, Inc.. All Rights Reserved.