Package edu.duke.cs.osprey.coffee.nodedb
Class GetHighestNodeOperation
java.lang.Object
com.hazelcast.spi.impl.operationservice.Operation
edu.duke.cs.osprey.coffee.nodedb.GetHighestNodeOperation
- All Implemented Interfaces:
com.hazelcast.nio.serialization.DataSerializable
public class GetHighestNodeOperation
extends com.hazelcast.spi.impl.operationservice.Operation
Returns the highest-scoring node from a cluster member.
-
Field Summary
Fields inherited from class com.hazelcast.spi.impl.operationservice.Operation
GENERIC_PARTITION_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidreadInternal(com.hazelcast.nio.ObjectDataInput in) final booleanfinal voidrun()protected voidwriteInternal(com.hazelcast.nio.ObjectDataOutput out) Methods inherited from class com.hazelcast.spi.impl.operationservice.Operation
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getClientCallId, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setClientCallId, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData
-
Constructor Details
-
GetHighestNodeOperation
public GetHighestNodeOperation() -
GetHighestNodeOperation
public GetHighestNodeOperation(int statei)
-
-
Method Details
-
returnsResponse
public final boolean returnsResponse()- Overrides:
returnsResponsein classcom.hazelcast.spi.impl.operationservice.Operation
-
writeInternal
- Overrides:
writeInternalin classcom.hazelcast.spi.impl.operationservice.Operation- Throws:
IOException
-
readInternal
- Overrides:
readInternalin classcom.hazelcast.spi.impl.operationservice.Operation- Throws:
IOException
-
getServiceName
- Overrides:
getServiceNamein classcom.hazelcast.spi.impl.operationservice.Operation
-
run
public final void run()- Overrides:
runin classcom.hazelcast.spi.impl.operationservice.Operation
-
getResponse
- Overrides:
getResponsein classcom.hazelcast.spi.impl.operationservice.Operation
-