public class LockResponse extends AbstractResponse<com.coreos.jetcd.api.lock.LockResponse>
Response.Header| Constructor and Description |
|---|
LockResponse(com.coreos.jetcd.api.lock.LockResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ByteSequence |
getKey()
key is a key that will exist on etcd for the duration that the Lock caller
owns the lock.
|
getHeader, getResponse, getResponseHeader, toStringpublic LockResponse(com.coreos.jetcd.api.lock.LockResponse response)
public ByteSequence getKey()
Copyright © 2018. All rights reserved.