Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

AbstractResponse<R> - Class in io.etcd.jetcd
 
AbstractResponse(R, ResponseHeader) - Constructor for class io.etcd.jetcd.AbstractResponse
 
addMember(List<URI>) - Method in interface io.etcd.jetcd.Cluster
add a new member into the cluster.
alarmDisarm(AlarmMember) - Method in interface io.etcd.jetcd.Maintenance
disarms a given alarm.
AlarmMember - Class in io.etcd.jetcd.maintenance
 
AlarmMember(long, AlarmType) - Constructor for class io.etcd.jetcd.maintenance.AlarmMember
 
AlarmResponse - Class in io.etcd.jetcd.maintenance
AlarmResponse returned by Maintenance.listAlarms() contains a header and a list of AlarmMember.
AlarmResponse(AlarmResponse) - Constructor for class io.etcd.jetcd.maintenance.AlarmResponse
 
AlarmType - Enum in io.etcd.jetcd.maintenance
represents type of alarm which can be raised.
Auth - Interface in io.etcd.jetcd
Interface of auth talking to etcd.
authDisable() - Method in interface io.etcd.jetcd.Auth
disables auth of an etcd cluster.
AuthDisableResponse - Class in io.etcd.jetcd.auth
AuthDisableResponse returned by Auth#authDisable() contains a header.
AuthDisableResponse(AuthDisableResponse) - Constructor for class io.etcd.jetcd.auth.AuthDisableResponse
 
authEnable() - Method in interface io.etcd.jetcd.Auth
enables auth of an etcd cluster.
AuthEnableResponse - Class in io.etcd.jetcd.auth
AuthEnableResponse returned by Auth#authEnable() call contains a header.
AuthEnableResponse(AuthEnableResponse) - Constructor for class io.etcd.jetcd.auth.AuthEnableResponse
 
authority() - Method in class io.etcd.jetcd.ClientBuilder
 
authority(String) - Method in class io.etcd.jetcd.ClientBuilder
The authority used to authenticate connections to servers.
AuthRoleAddResponse - Class in io.etcd.jetcd.auth
AuthRoleAddResponse returned by Auth#roleAdd(ByteSequence) contains a header.
AuthRoleAddResponse(AuthRoleAddResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleAddResponse
 
AuthRoleDeleteResponse - Class in io.etcd.jetcd.auth
AuthRoleDeleteResponse returned by Auth#roleDelete(ByteSequence) contains a header.
AuthRoleDeleteResponse(AuthRoleDeleteResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleDeleteResponse
 
AuthRoleGetResponse - Class in io.etcd.jetcd.auth
AuthRoleGetResponse returned by Auth#roleGet(ByteSequence) contains a header and a list of permissions.
AuthRoleGetResponse(AuthRoleGetResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleGetResponse
 
AuthRoleGrantPermissionResponse - Class in io.etcd.jetcd.auth
AuthRoleGrantPermissionResponse returned by Auth#roleGrantPermission(ByteSequence, ByteSequence, ByteSequence, Type) contains a header.
AuthRoleGrantPermissionResponse(AuthRoleGrantPermissionResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleGrantPermissionResponse
 
AuthRoleListResponse - Class in io.etcd.jetcd.auth
AuthRoleListResponse returned by Auth#roleList() contains a header and a list of roles.
AuthRoleListResponse(AuthRoleListResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleListResponse
 
AuthRoleRevokePermissionResponse - Class in io.etcd.jetcd.auth
AuthRoleRevokePermissionResponse returned by Auth#roleRevokePermission(ByteSequence, ByteSequence, ByteSequence) contains a header.
AuthRoleRevokePermissionResponse(AuthRoleRevokePermissionResponse) - Constructor for class io.etcd.jetcd.auth.AuthRoleRevokePermissionResponse
 
AuthUserAddResponse - Class in io.etcd.jetcd.auth
AuthUserAddResponse returned by Auth#userAdd(ByteSequence, ByteSequence) contains a header.
AuthUserAddResponse(AuthUserAddResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserAddResponse
 
AuthUserChangePasswordResponse - Class in io.etcd.jetcd.auth
AuthUserChangePasswordResponse returned by Auth#userChangePassword(ByteSequence, ByteSequence) contains a header.
AuthUserChangePasswordResponse(AuthUserChangePasswordResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserChangePasswordResponse
 
AuthUserDeleteResponse - Class in io.etcd.jetcd.auth
AuthUserDeleteResponse returned by Auth#userDelete(ByteSequence) contains a header.
AuthUserDeleteResponse(AuthUserDeleteResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserDeleteResponse
 
AuthUserGetResponse - Class in io.etcd.jetcd.auth
AuthUserGetResponse returned by Auth#userGet(ByteSequence) contains a header and a list of roles associated with the user.
AuthUserGetResponse(AuthUserGetResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserGetResponse
 
AuthUserGrantRoleResponse - Class in io.etcd.jetcd.auth
AuthUserGrantRoleResponse returned by Auth#userGrantRole(ByteSequence, ByteSequence) contains a header.
AuthUserGrantRoleResponse(AuthUserGrantRoleResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserGrantRoleResponse
 
AuthUserListResponse - Class in io.etcd.jetcd.auth
AuthUserListResponse returned by Auth#userList() contains a header and a list of users.
AuthUserListResponse(AuthUserListResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserListResponse
 
AuthUserRevokeRoleResponse - Class in io.etcd.jetcd.auth
AuthUserRevokeRoleResponse returned by Auth#userRevokeRole(ByteSequence, ByteSequence) contains a header.
AuthUserRevokeRoleResponse(AuthUserRevokeRoleResponse) - Constructor for class io.etcd.jetcd.auth.AuthUserRevokeRoleResponse
 

B

build() - Method in class io.etcd.jetcd.ClientBuilder
build a new Client.
build() - Method in class io.etcd.jetcd.Observers.Builder
 
build() - Method in class io.etcd.jetcd.options.CompactOption.Builder
 
build() - Method in class io.etcd.jetcd.options.DeleteOption.Builder
 
build() - Method in class io.etcd.jetcd.options.GetOption.Builder
 
build() - Method in class io.etcd.jetcd.options.LeaseOption.Builder
 
build() - Method in class io.etcd.jetcd.options.PutOption.Builder
build the put option.
build() - Method in class io.etcd.jetcd.options.WatchOption.Builder
 
builder() - Static method in interface io.etcd.jetcd.Client
 
builder() - Static method in class io.etcd.jetcd.Observers
 
Builder() - Constructor for class io.etcd.jetcd.Observers.Builder
 
ByteSequence - Class in io.etcd.jetcd
Etcd binary bytes, easy to convert between byte[], String and ByteString.

C

Client - Interface in io.etcd.jetcd
Etcd Client.
ClientBuilder - Class in io.etcd.jetcd
ClientBuilder knows how to create an Client instance.
close() - Method in interface io.etcd.jetcd.Client
 
close() - Method in interface io.etcd.jetcd.CloseableClient
close the client and release its resources.
close() - Method in interface io.etcd.jetcd.Watch.Watcher
closes this watcher and all its resources.
CloseableClient - Interface in io.etcd.jetcd
 
Cluster - Interface in io.etcd.jetcd
Interface of cluster client talking to etcd.
Cmp - Class in io.etcd.jetcd.op
The compare predicate in Txn.
Cmp(ByteSequence, Cmp.Op, CmpTarget<?>) - Constructor for class io.etcd.jetcd.op.Cmp
 
Cmp.Op - Enum in io.etcd.jetcd.op
 
CmpTarget<T> - Class in io.etcd.jetcd.op
Cmp target used in Txn.
CmpTarget(Compare.CompareTarget, T) - Constructor for class io.etcd.jetcd.op.CmpTarget
 
commit() - Method in class io.etcd.jetcd.op.TxnImpl
 
commit() - Method in interface io.etcd.jetcd.Txn
tries to commit the transaction.
compact(long) - Method in interface io.etcd.jetcd.KV
compact etcd KV history before the given rev.
compact(long, CompactOption) - Method in interface io.etcd.jetcd.KV
compact etcd KV history before the given rev with option.
CompactOption - Class in io.etcd.jetcd.options
 
CompactOption.Builder - Class in io.etcd.jetcd.options
 
CompactResponse - Class in io.etcd.jetcd.kv
 
CompactResponse(CompactionResponse) - Constructor for class io.etcd.jetcd.kv.CompactResponse
 
Constants - Class in io.etcd.jetcd
Constants of Etcd.
Constants() - Constructor for class io.etcd.jetcd.Constants
 
copy() - Method in class io.etcd.jetcd.ClientBuilder
 
createRevision(long) - Static method in class io.etcd.jetcd.op.CmpTarget
Cmp on the create revision.

D

DEFAULT - Static variable in class io.etcd.jetcd.options.CompactOption
 
DEFAULT - Static variable in class io.etcd.jetcd.options.DeleteOption
 
DEFAULT - Static variable in class io.etcd.jetcd.options.GetOption
 
DEFAULT - Static variable in class io.etcd.jetcd.options.LeaseOption
 
DEFAULT - Static variable in class io.etcd.jetcd.options.PutOption
 
DEFAULT - Static variable in class io.etcd.jetcd.options.WatchOption
 
defragmentMember(URI) - Method in interface io.etcd.jetcd.Maintenance
defragment one member of the cluster by its endpoint.
DefragmentResponse - Class in io.etcd.jetcd.maintenance
DefragmentResponse returned by Maintenance.defragmentMember(URI) contains a header.
DefragmentResponse(DefragmentResponse) - Constructor for class io.etcd.jetcd.maintenance.DefragmentResponse
 
delete(ByteSequence) - Method in interface io.etcd.jetcd.KV
delete a key.
delete(ByteSequence, DeleteOption) - Method in interface io.etcd.jetcd.KV
delete a key or range with option.
delete(ByteSequence, DeleteOption) - Static method in class io.etcd.jetcd.op.Op
 
DeleteOp(ByteString, DeleteOption) - Constructor for class io.etcd.jetcd.op.Op.DeleteOp
 
DeleteOption - Class in io.etcd.jetcd.options
 
DeleteOption.Builder - Class in io.etcd.jetcd.options
 
DeleteResponse - Class in io.etcd.jetcd.kv
 
DeleteResponse(DeleteRangeResponse) - Constructor for class io.etcd.jetcd.kv.DeleteResponse
 

E

Else(Op...) - Method in class io.etcd.jetcd.op.TxnImpl
 
Else(Op...) - Method in interface io.etcd.jetcd.Txn
takes a list of operations.
endpoints() - Method in class io.etcd.jetcd.ClientBuilder
gets the endpoints for the builder.
endpoints(Collection<URI>) - Method in class io.etcd.jetcd.ClientBuilder
configure etcd server endpoints.
endpoints(URI...) - Method in class io.etcd.jetcd.ClientBuilder
configure etcd server endpoints.
endpoints(String...) - Method in class io.etcd.jetcd.ClientBuilder
 
equals(Object) - Method in class io.etcd.jetcd.ByteSequence
 
error - Variable in class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
 
error - Variable in class io.etcd.jetcd.maintenance.SnapshotReaderResponseWithError
 
executorService() - Method in class io.etcd.jetcd.ClientBuilder
 
executorService(ExecutorService) - Method in class io.etcd.jetcd.ClientBuilder
config executor service.

F

from(String, Charset) - Static method in class io.etcd.jetcd.ByteSequence
Create new ByteSequence from a String.
from(ByteString) - Static method in class io.etcd.jetcd.ByteSequence
 
from(byte[]) - Static method in class io.etcd.jetcd.ByteSequence
 

G

get(ByteSequence) - Method in interface io.etcd.jetcd.KV
retrieve value for the given key.
get(ByteSequence, GetOption) - Method in interface io.etcd.jetcd.KV
retrieve keys with GetOption.
get(ByteSequence, GetOption) - Static method in class io.etcd.jetcd.op.Op
 
getAlarms() - Method in class io.etcd.jetcd.maintenance.AlarmResponse
returns a list of alarms associated with the alarm request.
getAlarmType() - Method in class io.etcd.jetcd.maintenance.AlarmMember
returns the type of alarm which has been raised.
getAuthClient() - Method in interface io.etcd.jetcd.Client
 
getBlob() - Method in class io.etcd.jetcd.maintenance.SnapshotResponse
 
getBytes() - Method in class io.etcd.jetcd.ByteSequence
 
getClientURIs() - Method in class io.etcd.jetcd.cluster.Member
returns list of URLs the member exposes to clients for communication.
getClusterClient() - Method in interface io.etcd.jetcd.Client
 
getClusterId() - Method in interface io.etcd.jetcd.Response.Header
 
getCompacted() - Method in class io.etcd.jetcd.maintenance.HashKVResponse
return compact_revision is the compacted revision of key-value store when hash begins.
getCount() - Method in class io.etcd.jetcd.kv.GetResponse
return the number of keys within the range when requested.
getCreateRevision() - Method in class io.etcd.jetcd.KeyValue
 
getDbSize() - Method in class io.etcd.jetcd.maintenance.StatusResponse
return the size of the backend database, in bytes, of the responding member.
getDeleted() - Method in class io.etcd.jetcd.kv.DeleteResponse
return the number of keys deleted by the delete range request.
getDeleteResponses() - Method in class io.etcd.jetcd.kv.TxnResponse
returns a list of DeleteResponse; empty list if none.
getEndKey() - Method in class io.etcd.jetcd.options.DeleteOption
 
getEndKey() - Method in class io.etcd.jetcd.options.GetOption
 
getEndKey() - Method in class io.etcd.jetcd.options.WatchOption
 
getEvents() - Method in class io.etcd.jetcd.watch.WatchResponse
 
getEventType() - Method in class io.etcd.jetcd.watch.WatchEvent
 
getException() - Method in class io.etcd.jetcd.watch.WatchResponseWithError
 
getGetResponses() - Method in class io.etcd.jetcd.kv.TxnResponse
returns a list of GetResponse; empty list if none.
getGrantedTTL() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
GrantedTTL is the initial granted time in seconds upon lease creation/renewal.
getHash() - Method in class io.etcd.jetcd.maintenance.HashKVResponse
return the hash value computed from the responding member's MVCC keys up to a given revision.
getHeader() - Method in class io.etcd.jetcd.AbstractResponse
 
getHeader() - Method in interface io.etcd.jetcd.Response
 
getId() - Method in class io.etcd.jetcd.cluster.Member
returns the member ID for this member.
getID() - Method in class io.etcd.jetcd.lease.LeaseGrantResponse
ID is the lease ID for the granted lease.
getID() - Method in class io.etcd.jetcd.lease.LeaseKeepAliveResponse
ID is the lease ID from the keep alive request.
getID() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
ID is the lease ID from the keep alive request.
getKey() - Method in class io.etcd.jetcd.auth.Permission
 
getKey() - Method in class io.etcd.jetcd.KeyValue
 
getKey() - Method in class io.etcd.jetcd.lock.LockResponse
key is a key that will exist on etcd for the duration that the Lock caller owns the lock.
getKeys() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
Keys is the list of keys attached to this lease.
getKeyValue() - Method in class io.etcd.jetcd.watch.WatchEvent
 
getKVClient() - Method in interface io.etcd.jetcd.Client
 
getKvs() - Method in class io.etcd.jetcd.kv.GetResponse
return a list of key-value pairs matched by the range request.
getLeader() - Method in class io.etcd.jetcd.maintenance.StatusResponse
return the the member ID which the responding member believes is the current leader.
getLease() - Method in class io.etcd.jetcd.KeyValue
 
getLeaseClient() - Method in interface io.etcd.jetcd.Client
 
getLeaseId() - Method in class io.etcd.jetcd.options.PutOption
Get the lease id.
getLimit() - Method in class io.etcd.jetcd.options.GetOption
Get the maximum number of keys to return for a get request.
getLockClient() - Method in interface io.etcd.jetcd.Client
 
getMaintenanceClient() - Method in interface io.etcd.jetcd.Client
 
getMember() - Method in class io.etcd.jetcd.cluster.MemberAddResponse
returns the member information for the added member.
getMemberId() - Method in class io.etcd.jetcd.maintenance.AlarmMember
returns the ID of the member associated with the raised alarm.
getMemberId() - Method in interface io.etcd.jetcd.Response.Header
 
getMembers() - Method in class io.etcd.jetcd.cluster.MemberAddResponse
returns a list of all members after adding the new member.
getMembers() - Method in class io.etcd.jetcd.cluster.MemberListResponse
returns a list of members.
getMembers() - Method in class io.etcd.jetcd.cluster.MemberRemoveResponse
returns a list of all members after removing the member.
getMembers() - Method in class io.etcd.jetcd.cluster.MemberUpdateResponse
returns a list of all members after updating the member.
getModRevision() - Method in class io.etcd.jetcd.KeyValue
 
getName() - Method in class io.etcd.jetcd.cluster.Member
returns the human-readable name of the member.
GetOp(ByteString, GetOption) - Constructor for class io.etcd.jetcd.op.Op.GetOp
 
GetOption - Class in io.etcd.jetcd.options
The option for get operation.
GetOption.Builder - Class in io.etcd.jetcd.options
 
GetOption.SortOrder - Enum in io.etcd.jetcd.options
 
GetOption.SortTarget - Enum in io.etcd.jetcd.options
 
getPeerURIs() - Method in class io.etcd.jetcd.cluster.Member
returns the list of URLs the member exposes to the cluster for communication.
getPermissions() - Method in class io.etcd.jetcd.auth.AuthRoleGetResponse
 
getPermType() - Method in class io.etcd.jetcd.auth.Permission
returns the type of Permission: READ, WRITE, READWRITE, or UNRECOGNIZED.
getPrevKv() - Method in class io.etcd.jetcd.kv.PutResponse
return previous key-value pair.
getPrevKV() - Method in class io.etcd.jetcd.options.PutOption
Get the previous KV.
getPrevKV() - Method in class io.etcd.jetcd.watch.WatchEvent
 
getPrevKvs() - Method in class io.etcd.jetcd.kv.DeleteResponse
return previous key-value pairs.
getPutResponses() - Method in class io.etcd.jetcd.kv.TxnResponse
returns a list of PutResponse; empty list if none.
getRaftIndex() - Method in class io.etcd.jetcd.maintenance.StatusResponse
the current raft index of the responding member.
getRaftTerm() - Method in class io.etcd.jetcd.maintenance.StatusResponse
the current raft term of the responding member.
getRaftTerm() - Method in interface io.etcd.jetcd.Response.Header
 
getRangeEnd() - Method in class io.etcd.jetcd.auth.Permission
 
getRemainingBytes() - Method in class io.etcd.jetcd.maintenance.SnapshotResponse
 
getResponse() - Method in class io.etcd.jetcd.AbstractResponse
 
GetResponse - Class in io.etcd.jetcd.kv
 
GetResponse(RangeResponse) - Constructor for class io.etcd.jetcd.kv.GetResponse
 
getResponseHeader() - Method in class io.etcd.jetcd.AbstractResponse
 
getRevision() - Method in class io.etcd.jetcd.options.GetOption
 
getRevision() - Method in class io.etcd.jetcd.options.WatchOption
 
getRevision() - Method in interface io.etcd.jetcd.Response.Header
 
getRoles() - Method in class io.etcd.jetcd.auth.AuthRoleListResponse
returns a list of roles.
getRoles() - Method in class io.etcd.jetcd.auth.AuthUserGetResponse
returns a list of roles.
getSortField() - Method in class io.etcd.jetcd.options.GetOption
 
getSortOrder() - Method in class io.etcd.jetcd.options.GetOption
 
getTarget() - Method in class io.etcd.jetcd.op.CmpTarget
Get the compare target used for this compare.
getTargetValue() - Method in class io.etcd.jetcd.op.CmpTarget
Get the compare target value of this compare.
getTTL() - Method in class io.etcd.jetcd.lease.LeaseGrantResponse
TTL is the server chosen lease time-to-live in seconds.
getTTL() - Method in class io.etcd.jetcd.lease.LeaseKeepAliveResponse
TTL is the new time-to-live for the lease.
getTTl() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
TTL is the remaining TTL in seconds for the lease; the lease will expire in under TTL+1 seconds.
getTxnResponses() - Method in class io.etcd.jetcd.kv.TxnResponse
 
getUsers() - Method in class io.etcd.jetcd.auth.AuthUserListResponse
returns a list of users.
getValue() - Method in class io.etcd.jetcd.KeyValue
 
getVersion() - Method in class io.etcd.jetcd.KeyValue
 
getVersion() - Method in class io.etcd.jetcd.maintenance.StatusResponse
returns the cluster protocol version used by the responding member.
getWatchClient() - Method in interface io.etcd.jetcd.Client
 
getWatchResponse() - Method in class io.etcd.jetcd.watch.WatchResponseWithError
 
grant(long) - Method in interface io.etcd.jetcd.Lease
New a lease with ttl value.

H

hashCode() - Method in class io.etcd.jetcd.ByteSequence
 
hashKV(URI, long) - Method in interface io.etcd.jetcd.Maintenance
returns a hash of the KV state at the time of the RPC.
HashKVResponse - Class in io.etcd.jetcd.maintenance
HashKVResponse returned by Maintenance#HashKV(String, long).
HashKVResponse(HashKVResponse) - Constructor for class io.etcd.jetcd.maintenance.HashKVResponse
 
hasPrevKv() - Method in class io.etcd.jetcd.kv.PutResponse
 
header(String, String) - Method in class io.etcd.jetcd.ClientBuilder
Sets an header to be added to http request headers.
headers() - Method in class io.etcd.jetcd.ClientBuilder
 
headers(Map<Metadata.Key, Object>) - Method in class io.etcd.jetcd.ClientBuilder
Sets headers to be added to http request headers.

I

If(Cmp...) - Method in class io.etcd.jetcd.op.TxnImpl
 
If(Cmp...) - Method in interface io.etcd.jetcd.Txn
takes a list of comparison.
interceptor(ClientInterceptor, ClientInterceptor...) - Method in class io.etcd.jetcd.ClientBuilder
Add interceptors.
interceptors() - Method in class io.etcd.jetcd.ClientBuilder
 
interceptors(List<ClientInterceptor>) - Method in class io.etcd.jetcd.ClientBuilder
Set the interceptors.
io.etcd.jetcd - package io.etcd.jetcd
 
io.etcd.jetcd.auth - package io.etcd.jetcd.auth
 
io.etcd.jetcd.cluster - package io.etcd.jetcd.cluster
 
io.etcd.jetcd.kv - package io.etcd.jetcd.kv
 
io.etcd.jetcd.lease - package io.etcd.jetcd.lease
 
io.etcd.jetcd.lock - package io.etcd.jetcd.lock
 
io.etcd.jetcd.maintenance - package io.etcd.jetcd.maintenance
 
io.etcd.jetcd.op - package io.etcd.jetcd.op
 
io.etcd.jetcd.options - package io.etcd.jetcd.options
 
io.etcd.jetcd.watch - package io.etcd.jetcd.watch
 
isAttachedKeys() - Method in class io.etcd.jetcd.options.LeaseOption
 
isCountOnly() - Method in class io.etcd.jetcd.options.GetOption
 
isKeysOnly() - Method in class io.etcd.jetcd.options.GetOption
 
isMore() - Method in class io.etcd.jetcd.kv.GetResponse
more indicates if there are more keys to return in the requested range.
isNoDelete() - Method in class io.etcd.jetcd.options.WatchOption
Whether filter delete event in server side.
isNoPut() - Method in class io.etcd.jetcd.options.WatchOption
Whether filter put event in server side.
isPhysical() - Method in class io.etcd.jetcd.options.CompactOption
 
isPrevKV() - Method in class io.etcd.jetcd.options.DeleteOption
Whether to get the previous key/value pairs before deleting them.
isPrevKV() - Method in class io.etcd.jetcd.options.WatchOption
Whether created watcher gets the previous KV before the event happens.
isProgressNotify() - Method in class io.etcd.jetcd.options.WatchOption
Whether watcher server send periodic progress updates.
isSerializable() - Method in class io.etcd.jetcd.options.GetOption
 
isSucceeded() - Method in class io.etcd.jetcd.kv.TxnResponse
return true if the compare evaluated to true or false otherwise.

K

keepAlive(long, StreamObserver<LeaseKeepAliveResponse>) - Method in interface io.etcd.jetcd.Lease
keep the given lease alive forever.
keepAliveOnce(long) - Method in interface io.etcd.jetcd.Lease
keep alive one lease only once.
key - Variable in class io.etcd.jetcd.op.Op
 
KeyValue - Class in io.etcd.jetcd
Etcd key value pair.
KeyValue(KeyValue) - Constructor for class io.etcd.jetcd.KeyValue
 
KV - Interface in io.etcd.jetcd
Interface of kv client talking to etcd.

L

lazyInitialization() - Method in class io.etcd.jetcd.ClientBuilder
 
lazyInitialization(boolean) - Method in class io.etcd.jetcd.ClientBuilder
Define if the client has to initialize connectivity and authentication on client constructor or delay it to the first call to a client.
Lease - Interface in io.etcd.jetcd
Interface of KeepAlive talking to etcd.
LeaseGrantResponse - Class in io.etcd.jetcd.lease
 
LeaseGrantResponse(LeaseGrantResponse) - Constructor for class io.etcd.jetcd.lease.LeaseGrantResponse
 
LeaseKeepAliveResponse - Class in io.etcd.jetcd.lease
 
LeaseKeepAliveResponse(LeaseKeepAliveResponse) - Constructor for class io.etcd.jetcd.lease.LeaseKeepAliveResponse
 
leaseKeepAliveResponse - Variable in class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseKeepAliveResponseWithError - Class in io.etcd.jetcd.lease
 
LeaseKeepAliveResponseWithError(LeaseKeepAliveResponse) - Constructor for class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseKeepAliveResponseWithError(EtcdException) - Constructor for class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseOption - Class in io.etcd.jetcd.options
 
LeaseOption.Builder - Class in io.etcd.jetcd.options
 
LeaseRevokeResponse - Class in io.etcd.jetcd.lease
 
LeaseRevokeResponse(LeaseRevokeResponse) - Constructor for class io.etcd.jetcd.lease.LeaseRevokeResponse
 
LeaseTimeToLiveResponse - Class in io.etcd.jetcd.lease
 
LeaseTimeToLiveResponse(LeaseTimeToLiveResponse) - Constructor for class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
 
listAlarms() - Method in interface io.etcd.jetcd.Maintenance
get all active keyspace alarm.
listener(Consumer<WatchResponse>) - Static method in interface io.etcd.jetcd.Watch
 
listener(Consumer<WatchResponse>, Consumer<Throwable>) - Static method in interface io.etcd.jetcd.Watch
 
listener(Consumer<WatchResponse>, Runnable) - Static method in interface io.etcd.jetcd.Watch
 
listener(Consumer<WatchResponse>, Consumer<Throwable>, Runnable) - Static method in interface io.etcd.jetcd.Watch
 
listMember() - Method in interface io.etcd.jetcd.Cluster
lists the current cluster membership.
loadBalancerFactory(LoadBalancer.Factory) - Method in class io.etcd.jetcd.ClientBuilder
config LoadBalancer factory.
loadBalancerFactory() - Method in class io.etcd.jetcd.ClientBuilder
get LoadBalancer.Factory for etcd client.
Lock - Interface in io.etcd.jetcd
Interface of Lock talking to etcd.
lock(ByteSequence, long) - Method in interface io.etcd.jetcd.Lock
Acquire a lock with the given name.
LockResponse - Class in io.etcd.jetcd.lock
 
LockResponse(LockResponse) - Constructor for class io.etcd.jetcd.lock.LockResponse
 

M

Maintenance - Interface in io.etcd.jetcd
Interface of maintenance talking to etcd.
maxInboundMessageSize() - Method in class io.etcd.jetcd.ClientBuilder
 
maxInboundMessageSize(Integer) - Method in class io.etcd.jetcd.ClientBuilder
Sets the maximum message size allowed for a single gRPC frame.
Member - Class in io.etcd.jetcd.cluster
 
Member(Member) - Constructor for class io.etcd.jetcd.cluster.Member
 
MemberAddResponse - Class in io.etcd.jetcd.cluster
MemberAddResponse returned by Cluster.addMember(List) contains a header, added member, and list of members after adding the new member.
MemberAddResponse(MemberAddResponse) - Constructor for class io.etcd.jetcd.cluster.MemberAddResponse
 
MemberListResponse - Class in io.etcd.jetcd.cluster
MemberListResponse returned by Cluster.listMember() contains a header and a list of members.
MemberListResponse(MemberListResponse) - Constructor for class io.etcd.jetcd.cluster.MemberListResponse
 
MemberRemoveResponse - Class in io.etcd.jetcd.cluster
MemberRemoveResponse returned by Cluster.removeMember(long) contains a header and a list of member the removal of the member.
MemberRemoveResponse(MemberRemoveResponse) - Constructor for class io.etcd.jetcd.cluster.MemberRemoveResponse
 
MemberUpdateResponse - Class in io.etcd.jetcd.cluster
MemberUpdateResponse returned by Cluster.updateMember(long, List) contains a header and a list of members after the member update.
MemberUpdateResponse(MemberUpdateResponse) - Constructor for class io.etcd.jetcd.cluster.MemberUpdateResponse
 
modRevision(long) - Static method in class io.etcd.jetcd.op.CmpTarget
Cmp on the modification revision.
moveLeader(long) - Method in interface io.etcd.jetcd.Maintenance
moveLeader requests current leader to transfer its leadership to the transferee.
MoveLeaderResponse - Class in io.etcd.jetcd.maintenance
MoveLeaderResponse returned by io.etcd.jetcd.Maintenance#MoveLeader(long).
MoveLeaderResponse(MoveLeaderResponse) - Constructor for class io.etcd.jetcd.maintenance.MoveLeaderResponse
 

N

newBuilder() - Static method in class io.etcd.jetcd.options.CompactOption
 
newBuilder() - Static method in class io.etcd.jetcd.options.DeleteOption
 
newBuilder() - Static method in class io.etcd.jetcd.options.GetOption
Create a builder to construct option for get operation.
newBuilder() - Static method in class io.etcd.jetcd.options.LeaseOption
 
newBuilder() - Static method in class io.etcd.jetcd.options.PutOption
 
newBuilder() - Static method in class io.etcd.jetcd.options.WatchOption
Create a builder to construct option for watch operation.
newTxn(Function<TxnRequest, CompletableFuture<TxnResponse>>) - Static method in class io.etcd.jetcd.op.TxnImpl
 
NoSuchLeaseException - Exception in io.etcd.jetcd.lease
Signals that the lease client do not have this lease.
NoSuchLeaseException(long) - Constructor for exception io.etcd.jetcd.lease.NoSuchLeaseException
 
NULL_KEY - Static variable in class io.etcd.jetcd.Constants
 

O

observe(Function<StreamObserver<V>, StreamObserver<T>>, Consumer<V>, Consumer<Throwable>) - Static method in class io.etcd.jetcd.Observers
 
observer(Consumer<V>) - Static method in class io.etcd.jetcd.Observers
 
observer(Consumer<V>, Consumer<Throwable>) - Static method in class io.etcd.jetcd.Observers
 
Observers - Class in io.etcd.jetcd
 
Observers.Builder<V> - Class in io.etcd.jetcd
 
onCompleted(Runnable) - Method in class io.etcd.jetcd.Observers.Builder
 
onCompleted() - Method in interface io.etcd.jetcd.Watch.Listener
Invoked on completion.
onError(Consumer<Throwable>) - Method in class io.etcd.jetcd.Observers.Builder
 
onError(Throwable) - Method in interface io.etcd.jetcd.Watch.Listener
Invoked on errors.
onNext(Consumer<V>) - Method in class io.etcd.jetcd.Observers.Builder
 
onNext(WatchResponse) - Method in interface io.etcd.jetcd.Watch.Listener
Invoked on new events.
Op - Class in io.etcd.jetcd.op
Etcd Operation.
Op(Op.Type, ByteString) - Constructor for class io.etcd.jetcd.op.Op
 
Op.DeleteOp - Class in io.etcd.jetcd.op
 
Op.GetOp - Class in io.etcd.jetcd.op
 
Op.PutOp - Class in io.etcd.jetcd.op
 
Op.TxnOp - Class in io.etcd.jetcd.op
 
Op.Type - Enum in io.etcd.jetcd.op
Operation type.
OptionsUtil - Class in io.etcd.jetcd.options
 

P

password() - Method in class io.etcd.jetcd.ClientBuilder
 
password(ByteSequence) - Method in class io.etcd.jetcd.ClientBuilder
config etcd auth password.
Permission - Class in io.etcd.jetcd.auth
represents a permission over a range of keys.
Permission(Permission.Type, ByteSequence, ByteSequence) - Constructor for class io.etcd.jetcd.auth.Permission
 
Permission.Type - Enum in io.etcd.jetcd.auth
 
put(ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.KV
put a key-value pair into etcd.
put(ByteSequence, ByteSequence, PutOption) - Method in interface io.etcd.jetcd.KV
put a key-value pair into etcd with option.
put(ByteSequence, ByteSequence, PutOption) - Static method in class io.etcd.jetcd.op.Op
 
PutOp(ByteString, ByteString, PutOption) - Constructor for class io.etcd.jetcd.op.Op.PutOp
 
PutOption - Class in io.etcd.jetcd.options
The options for put operation.
PutOption.Builder - Class in io.etcd.jetcd.options
Builder to construct a put option.
PutResponse - Class in io.etcd.jetcd.kv
 
PutResponse(PutResponse) - Constructor for class io.etcd.jetcd.kv.PutResponse
 

R

removeMember(long) - Method in interface io.etcd.jetcd.Cluster
removes an existing member from the cluster.
Response - Interface in io.etcd.jetcd
represents a generic Jetcd response.
Response.Header - Interface in io.etcd.jetcd
 
revoke(long) - Method in interface io.etcd.jetcd.Lease
revoke one lease and the key bind to this lease will be removed.
roleAdd(ByteSequence) - Method in interface io.etcd.jetcd.Auth
adds a new role to an etcd cluster.
roleDelete(ByteSequence) - Method in interface io.etcd.jetcd.Auth
RoleDelete deletes a role.
roleGet(ByteSequence) - Method in interface io.etcd.jetcd.Auth
gets a detailed information of a role.
roleGrantPermission(ByteSequence, ByteSequence, ByteSequence, Permission.Type) - Method in interface io.etcd.jetcd.Auth
grants a permission to a role.
roleList() - Method in interface io.etcd.jetcd.Auth
gets a list of all roles.
roleRevokePermission(ByteSequence, ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.Auth
revokes a permission from a role.

S

snapshot(OutputStream) - Method in interface io.etcd.jetcd.Maintenance
retrieves backend snapshot.
snapshot(StreamObserver<SnapshotResponse>) - Method in interface io.etcd.jetcd.Maintenance
retrieves backend snapshot as as stream of chunks.
SnapshotReaderResponseWithError - Class in io.etcd.jetcd.maintenance
 
SnapshotReaderResponseWithError(SnapshotResponse) - Constructor for class io.etcd.jetcd.maintenance.SnapshotReaderResponseWithError
 
SnapshotReaderResponseWithError(Exception) - Constructor for class io.etcd.jetcd.maintenance.SnapshotReaderResponseWithError
 
snapshotResponse - Variable in class io.etcd.jetcd.maintenance.SnapshotReaderResponseWithError
 
SnapshotResponse - Class in io.etcd.jetcd.maintenance
 
SnapshotResponse(SnapshotResponse) - Constructor for class io.etcd.jetcd.maintenance.SnapshotResponse
 
sslContext() - Method in class io.etcd.jetcd.ClientBuilder
 
sslContext(SslContext) - Method in class io.etcd.jetcd.ClientBuilder
SSL/TLS context to use instead of the system default.
startsWith(ByteSequence) - Method in class io.etcd.jetcd.ByteSequence
 
statusMember(URI) - Method in interface io.etcd.jetcd.Maintenance
get the status of a member by its endpoint.
StatusResponse - Class in io.etcd.jetcd.maintenance
StatusResponse returned by Maintenance.statusMember(URI) contains a header, version, dbSize, current leader, raftIndex, and raftTerm.
StatusResponse(StatusResponse) - Constructor for class io.etcd.jetcd.maintenance.StatusResponse
 

T

Then(Op...) - Method in class io.etcd.jetcd.op.TxnImpl
 
Then(Op...) - Method in interface io.etcd.jetcd.Txn
takes a list of operations.
timeToLive(long, LeaseOption) - Method in interface io.etcd.jetcd.Lease
retrieves the lease information of the given lease ID.
TOKEN - Static variable in class io.etcd.jetcd.Constants
 
toRangeRequestSortOrder(GetOption.SortOrder) - Static method in class io.etcd.jetcd.options.OptionsUtil
convert client SortOrder to apu SortOrder.
toRangeRequestSortTarget(GetOption.SortTarget) - Static method in class io.etcd.jetcd.options.OptionsUtil
convert client SortTarget to apu SortTarget.
toString() - Method in class io.etcd.jetcd.AbstractResponse
 
toString(Charset) - Method in class io.etcd.jetcd.ByteSequence
 
toURIs(Collection<String>) - Static method in class io.etcd.jetcd.Util
 
txn() - Method in interface io.etcd.jetcd.KV
creates a transaction.
txn(Cmp[], Op[], Op[]) - Static method in class io.etcd.jetcd.op.Op
 
Txn - Interface in io.etcd.jetcd
Txn is the interface that wraps mini-transactions.
TxnImpl - Class in io.etcd.jetcd.op
Build an etcd transaction.
TxnOp(Cmp[], Op[], Op[]) - Constructor for class io.etcd.jetcd.op.Op.TxnOp
 
TxnResponse - Class in io.etcd.jetcd.kv
TxnResponse returned by a transaction call contains lists of put, get, delete responses corresponding to either the compare in txn.IF is evaluated to true or false.
TxnResponse(TxnResponse) - Constructor for class io.etcd.jetcd.kv.TxnResponse
 
type - Variable in class io.etcd.jetcd.op.Op
 

U

unlock(ByteSequence) - Method in interface io.etcd.jetcd.Lock
Release the lock identified by the given key.
UnlockResponse - Class in io.etcd.jetcd.lock
 
UnlockResponse(UnlockResponse) - Constructor for class io.etcd.jetcd.lock.UnlockResponse
 
updateMember(long, List<URI>) - Method in interface io.etcd.jetcd.Cluster
update peer addresses of the member.
uriResolverLoader() - Method in class io.etcd.jetcd.ClientBuilder
 
uriResolverLoader(URIResolverLoader) - Method in class io.etcd.jetcd.ClientBuilder
 
user() - Method in class io.etcd.jetcd.ClientBuilder
 
user(ByteSequence) - Method in class io.etcd.jetcd.ClientBuilder
config etcd auth user.
userAdd(ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.Auth
adds a new user to an etcd cluster.
userChangePassword(ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.Auth
changes a password of a user.
userDelete(ByteSequence) - Method in interface io.etcd.jetcd.Auth
deletes a user from an etcd cluster.
userGet(ByteSequence) - Method in interface io.etcd.jetcd.Auth
gets a detailed information of a user.
userGrantRole(ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.Auth
grants a role to a user.
userList() - Method in interface io.etcd.jetcd.Auth
gets a list of all users.
userRevokeRole(ByteSequence, ByteSequence) - Method in interface io.etcd.jetcd.Auth
revokes a role of a user.
Util - Class in io.etcd.jetcd.cluster
Util class for Cluster models.
Util() - Constructor for class io.etcd.jetcd.cluster.Util
 
Util - Class in io.etcd.jetcd
 

V

value(ByteSequence) - Static method in class io.etcd.jetcd.op.CmpTarget
Cmp on the value.
valueOf(String) - Static method in enum io.etcd.jetcd.auth.Permission.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.maintenance.AlarmType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.op.Cmp.Op
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.op.Op.Type
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.options.GetOption.SortOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.options.GetOption.SortTarget
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.etcd.jetcd.watch.WatchEvent.EventType
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.etcd.jetcd.auth.Permission.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.maintenance.AlarmType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.op.Cmp.Op
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.op.Op.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.options.GetOption.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.options.GetOption.SortTarget
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.etcd.jetcd.watch.WatchEvent.EventType
Returns an array containing the constants of this enum type, in the order they are declared.
version(long) - Static method in class io.etcd.jetcd.op.CmpTarget
Cmp on a given version.

W

Watch - Interface in io.etcd.jetcd
Interface of the watch client.
watch(ByteSequence, WatchOption, Watch.Listener) - Method in interface io.etcd.jetcd.Watch
watch on a key with option.
watch(ByteSequence, Watch.Listener) - Method in interface io.etcd.jetcd.Watch
watch on a key.
watch(ByteSequence, Consumer<WatchResponse>) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, Consumer<WatchResponse>, Consumer<Throwable>) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, Consumer<WatchResponse>, Consumer<Throwable>, Runnable) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, Consumer<WatchResponse>, Runnable) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, WatchOption, Consumer<WatchResponse>) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Consumer<Throwable>) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Runnable) - Method in interface io.etcd.jetcd.Watch
 
watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Consumer<Throwable>, Runnable) - Method in interface io.etcd.jetcd.Watch
 
Watch.Listener - Interface in io.etcd.jetcd
Interface of Watcher.
Watch.Watcher - Interface in io.etcd.jetcd
 
WatchEvent - Class in io.etcd.jetcd.watch
Watch event, return by watch, contain put, delete event.
WatchEvent(KeyValue, KeyValue, WatchEvent.EventType) - Constructor for class io.etcd.jetcd.watch.WatchEvent
 
WatchEvent.EventType - Enum in io.etcd.jetcd.watch
 
WatchOption - Class in io.etcd.jetcd.options
The option for watch operation.
WatchOption.Builder - Class in io.etcd.jetcd.options
 
WatchResponse - Class in io.etcd.jetcd.watch
 
WatchResponse(WatchResponse) - Constructor for class io.etcd.jetcd.watch.WatchResponse
 
WatchResponseWithError - Class in io.etcd.jetcd.watch
 
WatchResponseWithError(WatchResponse) - Constructor for class io.etcd.jetcd.watch.WatchResponseWithError
 
WatchResponseWithError(EtcdException) - Constructor for class io.etcd.jetcd.watch.WatchResponseWithError
 
withAttachedKeys() - Method in class io.etcd.jetcd.options.LeaseOption.Builder
requests lease timeToLive API to return attached keys of given lease ID.
withCompactPhysical(boolean) - Method in class io.etcd.jetcd.options.CompactOption.Builder
make compact RPC call wait until the compaction is physically applied to the local database such that compacted entries are totally removed from the backend database.
withCountOnly(boolean) - Method in class io.etcd.jetcd.options.GetOption.Builder
Set the get request to only return count of the keys.
withKeysOnly(boolean) - Method in class io.etcd.jetcd.options.GetOption.Builder
Set the get request to only return keys.
withLeaseId(long) - Method in class io.etcd.jetcd.options.PutOption.Builder
Assign a leaseId for a put operation.
withLimit(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
Limit the number of keys to return for a get request.
withNoDelete(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
filter out delete event in server side.
withNoPut(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
filter out put event in server side.
withPrefix(ByteSequence) - Method in class io.etcd.jetcd.options.DeleteOption.Builder
Enables 'Delete' requests to delete all the keys with matching prefix.
withPrefix(ByteSequence) - Method in class io.etcd.jetcd.options.GetOption.Builder
Enables 'Get' requests to obtain all the keys with matching prefix.
withPrefix(ByteSequence) - Method in class io.etcd.jetcd.options.WatchOption.Builder
Enables watch all the keys with matching prefix.
withPrevKV(boolean) - Method in class io.etcd.jetcd.options.DeleteOption.Builder
Get the previous key/value pairs before deleting them.
withPrevKV() - Method in class io.etcd.jetcd.options.PutOption.Builder
When withPrevKV is set, put response contains previous key-value pair.
withPrevKV(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
When prevKV is set, created watcher gets the previous KV before the event happens, if the previous KV is not compacted.
withProgressNotify(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
When progressNotify is set, the watch server send periodic progress updates.
withRange(ByteSequence) - Method in class io.etcd.jetcd.options.DeleteOption.Builder
Set the end key of the delete request.
withRange(ByteSequence) - Method in class io.etcd.jetcd.options.GetOption.Builder
Set the end key of the get request.
withRange(ByteSequence) - Method in class io.etcd.jetcd.options.WatchOption.Builder
Set the end key of the get request.
withRevision(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
Provide the revision to use for the get request.
withRevision(long) - Method in class io.etcd.jetcd.options.WatchOption.Builder
Provide the revision to use for the get request.
withSerializable(boolean) - Method in class io.etcd.jetcd.options.GetOption.Builder
Set the get request to be a serializable get request.
withSortField(GetOption.SortTarget) - Method in class io.etcd.jetcd.options.GetOption.Builder
Sort the return key value pairs in the provided field.
withSortOrder(GetOption.SortOrder) - Method in class io.etcd.jetcd.options.GetOption.Builder
Sort the return key value pairs in the provided order.
A B C D E F G H I K L M N O P R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.