@PrivateApi public final class OperationAccessor extends Object
Modifier and Type | Method and Description |
---|---|
static void |
setCallerAddress(Operation op,
Address caller) |
static void |
setCallId(Operation op,
long callId)
Sets the callId for the Operation.
|
static void |
setCallTimeout(Operation op,
long callTimeout)
Sets the call timeout in milliseconds for the Operation.
|
static void |
setConnection(Operation op,
Connection connection) |
static void |
setInvocationTime(Operation op,
long invocationTime)
Sets the invocation time for the Operation.
|
public static void setConnection(Operation op, Connection connection)
public static void setCallId(Operation op, long callId)
op
- the Operator that is updated for its callId.callId
- the callId.Operation.setCallId(long)
,
Operation.getCallId()
public static void setInvocationTime(Operation op, long invocationTime)
op
- the Operation that is updated for its invocation time.invocationTime
- the new invocation time.Operation.setInvocationTime(long)
public static void setCallTimeout(Operation op, long callTimeout)
op
- the Operation to updated for its call timeout.callTimeout
- the call timeout in ms.Operation.setCallTimeout(long)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.