com.hazelcast.map.impl.operation
Class AddIndexOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.spi.impl.AbstractNamedOperation
              extended by com.hazelcast.map.impl.operation.AddIndexOperation
All Implemented Interfaces:
DataSerializable, MutatingOperation, NamedOperation, PartitionAwareOperation

public class AddIndexOperation
extends AbstractNamedOperation
implements PartitionAwareOperation, MutatingOperation


Field Summary
 
Fields inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
name
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
AddIndexOperation()
           
AddIndexOperation(String name, String attributeName, boolean ordered)
           
 
Method Summary
 Object getResponse()
           
 String getServiceName()
           
protected  void readInternal(ObjectDataInput in)
           
 void run()
           
protected  void writeInternal(ObjectDataOutput out)
           
 
Methods inherited from class com.hazelcast.spi.impl.AbstractNamedOperation
getName
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, returnsResponse
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.hazelcast.spi.PartitionAwareOperation
getPartitionId
 

Constructor Detail

AddIndexOperation

public AddIndexOperation()

AddIndexOperation

public AddIndexOperation(String name,
                         String attributeName,
                         boolean ordered)
Method Detail

getServiceName

public String getServiceName()
Overrides:
getServiceName in class Operation

run

public void run()
         throws Exception
Specified by:
run in class Operation
Throws:
Exception

getResponse

public Object getResponse()
Overrides:
getResponse in class AbstractOperation

writeInternal

protected void writeInternal(ObjectDataOutput out)
                      throws IOException
Overrides:
writeInternal in class AbstractNamedOperation
Throws:
IOException

readInternal

protected void readInternal(ObjectDataInput in)
                     throws IOException
Overrides:
readInternal in class AbstractNamedOperation
Throws:
IOException


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.