@Generated(value="a6d11d4644b6af9c2a165c36673329de") public final class FencedLockUnlockCodec extends Object
IllegalMonitorStateException
.
If the session is closed while holding the lock, the call fails with
LockOwnershipLostException
. Returns true if the lock is still
held by the caller after a successful unlock() call, false otherwise.Modifier and Type | Class and Description |
---|---|
static class |
FencedLockUnlockCodec.RequestParameters |
static class |
FencedLockUnlockCodec.ResponseParameters |
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_MESSAGE_TYPE |
static int |
RESPONSE_MESSAGE_TYPE |
Modifier and Type | Method and Description |
---|---|
static FencedLockUnlockCodec.RequestParameters |
decodeRequest(ClientMessage clientMessage) |
static FencedLockUnlockCodec.ResponseParameters |
decodeResponse(ClientMessage clientMessage) |
static ClientMessage |
encodeRequest(RaftGroupId groupId,
String name,
long sessionId,
long threadId,
UUID invocationUid) |
static ClientMessage |
encodeResponse(boolean response) |
public static final int REQUEST_MESSAGE_TYPE
public static final int RESPONSE_MESSAGE_TYPE
public static ClientMessage encodeRequest(RaftGroupId groupId, String name, long sessionId, long threadId, UUID invocationUid)
public static FencedLockUnlockCodec.RequestParameters decodeRequest(ClientMessage clientMessage)
public static ClientMessage encodeResponse(boolean response)
public static FencedLockUnlockCodec.ResponseParameters decodeResponse(ClientMessage clientMessage)
Copyright © 2019 Hazelcast, Inc.. All rights reserved.