public class CacheManagementConfigOperation extends AbstractNamedOperation implements IdentifiedDataSerializable
CacheManager.enableManagement(String, boolean)
,
CacheManager.enableStatistics(String, boolean)
,
com.hazelcast.cache.impl.CacheService#setManagementEnabled(String, boolean)
,
com.hazelcast.cache.impl.CacheService#setStatisticsEnabled(String, boolean)
name
Constructor and Description |
---|
CacheManagementConfigOperation() |
CacheManagementConfigOperation(String cacheNameWithPrefix,
boolean isStat,
boolean enabled) |
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 CacheManagementConfigOperation()
public CacheManagementConfigOperation(String cacheNameWithPrefix, boolean isStat, boolean enabled)
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.