Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractNameResolver - Class in io.etcd.jetcd.resolver
- AbstractNameResolver(URI) - Constructor for class io.etcd.jetcd.resolver.AbstractNameResolver
- AbstractResolverProvider - Class in io.etcd.jetcd.resolver
- AbstractResolverProvider(String, int) - Constructor for class io.etcd.jetcd.resolver.AbstractResolverProvider
- AbstractResponse<R> - Class in io.etcd.jetcd.impl
- AbstractResponse(R, ResponseHeader) - Constructor for class io.etcd.jetcd.impl.AbstractResponse
- addMember(List<URI>) - Method in interface io.etcd.jetcd.Cluster
-
add a non-learner new member into the cluster.
- addMember(List<URI>, boolean) - 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 Class in io.etcd.jetcd.maintenance
-
represents type of alarm which can be raised.
- applyRequireLeader(boolean, T) - Static method in class io.etcd.jetcd.support.Util
- ASCEND - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortOrder
- 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
- authHeader(String, String) - Method in class io.etcd.jetcd.ClientBuilder
-
Add an auth header.
- authHeaders() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the headers to be added to auth request headers
- authHeaders(Map<Metadata.Key<?>, Object>) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the auth headers.
- authInterceptors() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the auth interceptors
- authInterceptors(ClientInterceptor, ClientInterceptor...) - Method in class io.etcd.jetcd.ClientBuilder
-
Add an auth interceptor.
- authInterceptors(List<ClientInterceptor>) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the auth interceptors.
- authority() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns The authority used to authenticate connections to servers.
- authority(String) - Method in class io.etcd.jetcd.ClientBuilder
-
Sets 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, Permission.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
- 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
- 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
- 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.options.CompactOption.Builder
- build() - Method in class io.etcd.jetcd.options.DeleteOption.Builder
- build() - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Build the GetOption.
- 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.TxnOption.Builder
- build() - Method in class io.etcd.jetcd.options.WatchOption.Builder
- build() - Method in class io.etcd.jetcd.support.Observers.Builder
- builder() - Static method in interface io.etcd.jetcd.Client
-
Returns a new
ClientBuilder. - builder() - Static method in class io.etcd.jetcd.options.CompactOption
- builder() - Static method in class io.etcd.jetcd.options.DeleteOption
-
Returns the builder.
- builder() - Static method in class io.etcd.jetcd.options.GetOption
- builder() - Static method in class io.etcd.jetcd.options.LeaseOption
- builder() - Static method in class io.etcd.jetcd.options.PutOption
- builder() - Static method in class io.etcd.jetcd.options.TxnOption
-
Returns the builder.
- builder() - Static method in class io.etcd.jetcd.options.WatchOption
- builder() - Static method in class io.etcd.jetcd.support.Observers
- Builder() - Constructor for class io.etcd.jetcd.support.Observers.Builder
- ByteSequence - Class in io.etcd.jetcd
-
Etcd binary bytes, easy to convert between byte[], String and ByteString.
C
- campaign(ByteSequence, long, ByteSequence) - Method in interface io.etcd.jetcd.Election
-
Campaign waits to acquire leadership in an election, returning a leader key representing the leadership if successful.
- CampaignResponse - Class in io.etcd.jetcd.election
- CampaignResponse(CampaignResponse) - Constructor for class io.etcd.jetcd.election.CampaignResponse
- checkArgument(boolean, String) - Static method in class io.etcd.jetcd.Preconditions
- checkState(boolean, String) - Static method in class io.etcd.jetcd.Preconditions
- Client - Interface in io.etcd.jetcd
-
Etcd Client.
- ClientBuilder - Class in io.etcd.jetcd
-
ClientBuilder knows how to create a Client instance.
- ClientImpl - Class in io.etcd.jetcd.impl
-
Etcd Client.
- ClientImpl(ClientBuilder) - Constructor for class io.etcd.jetcd.impl.ClientImpl
- close() - Method in interface io.etcd.jetcd.Client
- close() - Method in class io.etcd.jetcd.impl.ClientImpl
- close() - Method in interface io.etcd.jetcd.support.CloseableClient
-
close the client and release its resources.
- close() - Method in class io.etcd.jetcd.support.MemorizingClientSupplier
- close() - Method in interface io.etcd.jetcd.Watch.Watcher
-
closes this watcher and all its resources.
- CloseableClient - Interface in io.etcd.jetcd.support
- 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 Class 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
- CmpTarget.CreateRevisionCmpTarget - Class in io.etcd.jetcd.op
- CmpTarget.ModRevisionCmpTarget - Class in io.etcd.jetcd.op
- CmpTarget.ValueCmpTarget - Class in io.etcd.jetcd.op
- CmpTarget.VersionCmpTarget - Class in io.etcd.jetcd.op
- 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
- computeAddressGroups() - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- computeAddressGroups() - Method in class io.etcd.jetcd.resolver.DnsSrvNameResolver
- computeAddressGroups() - Method in class io.etcd.jetcd.resolver.HttpNameResolver
- computeAddressGroups() - Method in class io.etcd.jetcd.resolver.HttpsNameResolver
- computeAddressGroups() - Method in class io.etcd.jetcd.resolver.IPNameResolver
- concat(ByteString) - Method in class io.etcd.jetcd.ByteSequence
-
Concatenate the given
ByteSequenceto this one. - concat(ByteSequence) - Method in class io.etcd.jetcd.ByteSequence
-
Concatenate the given
ByteSequenceto this one. - connectTimeout() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the connect timeout.
- connectTimeout(Duration) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the connection timeout.
- 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
-
Returns a copy of this builder
- CREATE - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortTarget
- createResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.AbstractResolverProvider
- createResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.DnsSrvResolverProvider
- createResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.HttpResolverProvider
- createResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.HttpsResolverProvider
- createResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.IPResolverProvider
- createRevision(long) - Static method in class io.etcd.jetcd.op.CmpTarget
-
Cmp on the create revision.
- createThreadFactory(String, boolean) - Static method in class io.etcd.jetcd.support.Util
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.TxnOption
- DEFAULT - Static variable in class io.etcd.jetcd.options.WatchOption
- defragmentMember(String) - 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(String)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
- DELETE - Enum constant in enum class io.etcd.jetcd.watch.WatchEvent.EventType
- DELETE_RANGE - Enum constant in enum class io.etcd.jetcd.op.Op.Type
- DeleteOption - Class in io.etcd.jetcd.options
- DeleteOption.Builder - Class in io.etcd.jetcd.options
- DeleteResponse - Class in io.etcd.jetcd.kv
- DeleteResponse(DeleteRangeResponse, ByteSequence) - Constructor for class io.etcd.jetcd.kv.DeleteResponse
- DESCEND - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortOrder
- DnsSrvNameResolver - Class in io.etcd.jetcd.resolver
- DnsSrvNameResolver(URI) - Constructor for class io.etcd.jetcd.resolver.DnsSrvNameResolver
- DnsSrvResolverProvider - Class in io.etcd.jetcd.resolver
- DnsSrvResolverProvider() - Constructor for class io.etcd.jetcd.resolver.DnsSrvResolverProvider
E
- Election - Interface in io.etcd.jetcd
-
Interface of leader election client talking to etcd.
- Election.Listener - Interface in io.etcd.jetcd
-
Interface of leadership notification listener.
- Else(Op...) - Method in class io.etcd.jetcd.op.TxnImpl
- Else(Op...) - Method in interface io.etcd.jetcd.Txn
-
takes a list of operations.
- EMPTY - Static variable in class io.etcd.jetcd.ByteSequence
- endpoints(Iterable<URI>) - Method in class io.etcd.jetcd.ClientBuilder
-
configure etcd server endpoints using the
IPNameResolver. - endpoints(String...) - Method in class io.etcd.jetcd.ClientBuilder
-
configure etcd server endpoints using the
IPNameResolver. - endpoints(URI...) - Method in class io.etcd.jetcd.ClientBuilder
-
configure etcd server endpoints using the
IPNameResolver. - EQUAL - Enum constant in enum class io.etcd.jetcd.op.Cmp.Op
- 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
- ERROR_AUTH_STORE_OLD - Static variable in class io.etcd.jetcd.support.Errors
- Errors - Class in io.etcd.jetcd.support
- ETCD_CLIENT_PORT - Static variable in class io.etcd.jetcd.resolver.AbstractNameResolver
- executorService() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the executor service
- executorService(ExecutorService) - Method in class io.etcd.jetcd.ClientBuilder
-
config executor service.
F
- from(byte[]) - Static method in class io.etcd.jetcd.ByteSequence
-
Create new ByteSequence from raw bytes.
- from(ByteString) - Static method in class io.etcd.jetcd.ByteSequence
-
Create new ByteSequence from a
ByteString. - from(String, Charset) - Static method in class io.etcd.jetcd.ByteSequence
-
Create new ByteSequence from a String.
G
- get() - Method in class io.etcd.jetcd.support.MemorizingClientSupplier
- 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
-
Returns the
Authclient. - getAuthClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getBlob() - Method in class io.etcd.jetcd.maintenance.SnapshotResponse
-
Returns the blob.
- 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, if the member is not started, clientURLs will be empty.
- getClusterClient() - Method in interface io.etcd.jetcd.Client
-
Returns the
Clusterclient. - getClusterClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getClusterId() - Method in interface io.etcd.jetcd.Response.Header
-
Returns the cluster id
- getCompacted() - Method in class io.etcd.jetcd.maintenance.HashKVResponse
-
Returns the compacted revision of key-value store when hash begins.
- getCount() - Method in class io.etcd.jetcd.kv.GetResponse
-
Returns the number of keys within the range requested.
- getCreateRevision() - Method in class io.etcd.jetcd.KeyValue
-
Returns the create revision.
- getDbSize() - Method in class io.etcd.jetcd.maintenance.StatusResponse
-
Returns the size of the backend database, in bytes, of the responding member.
- getDefaultScheme() - Method in class io.etcd.jetcd.resolver.AbstractResolverProvider
- getDeleted() - Method in class io.etcd.jetcd.kv.DeleteResponse
-
Returns 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.
- getElectionClient() - Method in interface io.etcd.jetcd.Client
-
Returns the
Electionclient. - getElectionClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getEndKey() - Method in class io.etcd.jetcd.options.DeleteOption
- getEndKey() - Method in class io.etcd.jetcd.options.GetOption
-
Get the end key for a range request
- 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
-
Returns the initial granted time in seconds upon lease creation/renewal.
- getHash() - Method in class io.etcd.jetcd.maintenance.HashKVResponse
-
Returns the hash value computed from the responding member's MVCC keys up to a given revision.
- getHeader() - Method in class io.etcd.jetcd.impl.AbstractResponse
- getHeader() - Method in interface io.etcd.jetcd.Response
-
Returns the response header
- 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
-
Returns the lease ID for the granted lease.
- getID() - Method in class io.etcd.jetcd.lease.LeaseKeepAliveResponse
-
Returns the lease ID from the keep alive request.
- getID() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
-
Returns the lease ID from the keep alive request.
- getKey() - Method in class io.etcd.jetcd.auth.Permission
- getKey() - Method in class io.etcd.jetcd.election.LeaderKey
-
Returns the opaque key representing the ownership of the election.
- getKey() - Method in class io.etcd.jetcd.KeyValue
-
Returns the key
- getKey() - Method in class io.etcd.jetcd.lock.LockResponse
-
Returns the 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
-
Returns the list of keys attached to this lease.
- getKeyValue() - Method in class io.etcd.jetcd.watch.WatchEvent
- getKv() - Method in class io.etcd.jetcd.election.LeaderResponse
-
Returns the key-value pair representing the latest leader update.
- getKVClient() - Method in interface io.etcd.jetcd.Client
-
Returns the
KVclient. - getKVClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getKvs() - Method in class io.etcd.jetcd.kv.GetResponse
-
Returns a list of key-value pairs matched by the range request.
- getLeader() - Method in class io.etcd.jetcd.election.CampaignResponse
-
Returns the resources used for holding leadership of the election.
- getLeader() - Method in class io.etcd.jetcd.maintenance.StatusResponse
-
Returns the member ID which the responding member believes is the current leader.
- getLease() - Method in class io.etcd.jetcd.election.LeaderKey
-
Returns the lease ID of the election leader.
- getLease() - Method in class io.etcd.jetcd.KeyValue
-
Returns the lease.
- getLeaseClient() - Method in interface io.etcd.jetcd.Client
-
Returns the
Leaseclient. - getLeaseClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- 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
-
Returns the
Lockclient. - getLockClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getMaintenanceClient() - Method in interface io.etcd.jetcd.Client
-
Returns the
Maintenanceclient. - getMaintenanceClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getMaxCreateRevision() - Method in class io.etcd.jetcd.options.GetOption
-
Only populate results for keys that match a maximum value for a created revision.
- getMaxModRevision() - Method in class io.etcd.jetcd.options.GetOption
-
Only populate results for keys that match a maximum value for a modified revision.
- 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
-
Returns the member id
- 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
-
Return a list of all members after updating the member.
- getMinCreateRevision() - Method in class io.etcd.jetcd.options.GetOption
-
Only populate results for keys that match a minimum value for a created revision.
- getMinModRevision() - Method in class io.etcd.jetcd.options.GetOption
-
Only populate results for keys that match a minimum value for a modified revision.
- getModRevision() - Method in class io.etcd.jetcd.KeyValue
-
Returns the mod revision.
- getName() - Method in class io.etcd.jetcd.cluster.Member
-
Returns the human-readable name of the member, ff the member is not started, the name will be an empty string.
- getName() - Method in class io.etcd.jetcd.election.LeaderKey
-
Returns the election identifier that corresponds to the leadership key.
- GetOption - Class in io.etcd.jetcd.options
-
The option for get operation.
- GetOption.Builder - Class in io.etcd.jetcd.options
- GetOption.SortOrder - Enum Class in io.etcd.jetcd.options
- GetOption.SortTarget - Enum Class 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
-
Returns 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
-
Returns 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
-
Returns the current raft index of the responding member.
- getRaftTerm() - Method in class io.etcd.jetcd.maintenance.StatusResponse
-
Returns the current raft term of the responding member.
- getRaftTerm() - Method in interface io.etcd.jetcd.Response.Header
-
Returns the raft term
- getRangeEnd() - Method in class io.etcd.jetcd.auth.Permission
- getRemainingBytes() - Method in class io.etcd.jetcd.maintenance.SnapshotResponse
-
Returns the remaining bytes.
- getResponse() - Method in class io.etcd.jetcd.impl.AbstractResponse
- GetResponse - Class in io.etcd.jetcd.kv
- GetResponse(RangeResponse, ByteSequence) - Constructor for class io.etcd.jetcd.kv.GetResponse
- getResponseHeader() - Method in class io.etcd.jetcd.impl.AbstractResponse
- getRevision() - Method in class io.etcd.jetcd.election.LeaderKey
-
Returns the creation revision of the key.
- getRevision() - Method in class io.etcd.jetcd.options.GetOption
-
Get the revision for the request
- getRevision() - Method in class io.etcd.jetcd.options.WatchOption
-
Returns the revision to watch from.
- getRevision() - Method in interface io.etcd.jetcd.Response.Header
-
Returns the revision id
- 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.
- getServiceAuthority() - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- getSortField() - Method in class io.etcd.jetcd.options.GetOption
-
Get the sort field for the request
- getSortOrder() - Method in class io.etcd.jetcd.options.GetOption
-
Get the sort order for the request
- getTarget() - Method in class io.etcd.jetcd.op.CmpTarget
-
Get the compare target used for this compare.
- getTargetUri() - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- 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
-
Returns the server chosen lease time-to-live in seconds.
- getTTL() - Method in class io.etcd.jetcd.lease.LeaseKeepAliveResponse
-
Returns the new time-to-live for the lease.
- getTTL() - Method in class io.etcd.jetcd.lease.LeaseTimeToLiveResponse
-
Returns 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
-
Returns a list of TxnResponse; empty list if none.
- getUsers() - Method in class io.etcd.jetcd.auth.AuthUserListResponse
-
Returns a list of users.
- getValue() - Method in class io.etcd.jetcd.KeyValue
-
Returns the value
- getVersion() - Method in class io.etcd.jetcd.KeyValue
-
Returns the version.
- 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
-
Returns the
Watchclient. - getWatchClient() - Method in class io.etcd.jetcd.impl.ClientImpl
- getWatchResponse() - Method in class io.etcd.jetcd.watch.WatchResponseWithError
- grant(long) - Method in interface io.etcd.jetcd.Lease
-
New a lease with ttl value.
- grant(long, long, TimeUnit) - Method in interface io.etcd.jetcd.Lease
-
New a lease with ttl value.Waits if necessary for at most the given time if etcd server is available.
- GREATER - Enum constant in enum class io.etcd.jetcd.op.Cmp.Op
H
- hashCode() - Method in class io.etcd.jetcd.ByteSequence
- hashKV(String, 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
-
Returns whether a previous key-value pair is present.
- header(String, String) - Method in class io.etcd.jetcd.ClientBuilder
-
Set headers.
- headers() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the headers to be added to http request headers
- headers(Map<Metadata.Key<?>, Object>) - Method in class io.etcd.jetcd.ClientBuilder
-
Sets headers to be added to http request headers.
- HttpNameResolver - Class in io.etcd.jetcd.resolver
- HttpNameResolver(URI) - Constructor for class io.etcd.jetcd.resolver.HttpNameResolver
- HttpResolverProvider - Class in io.etcd.jetcd.resolver
- HttpResolverProvider() - Constructor for class io.etcd.jetcd.resolver.HttpResolverProvider
- HttpsNameResolver - Class in io.etcd.jetcd.resolver
- HttpsNameResolver(URI) - Constructor for class io.etcd.jetcd.resolver.HttpsNameResolver
- HttpsResolverProvider - Class in io.etcd.jetcd.resolver
- HttpsResolverProvider() - Constructor for class io.etcd.jetcd.resolver.HttpsResolverProvider
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 an interceptor.
- interceptors() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the interceptors
- interceptors(List<ClientInterceptor>) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the interceptors.
- INVALID_AUTH_TOKEN_ERROR_MESSAGE - Static variable in class io.etcd.jetcd.support.Errors
- 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.election - package io.etcd.jetcd.election
- io.etcd.jetcd.impl - package io.etcd.jetcd.impl
- 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.resolver - package io.etcd.jetcd.resolver
- io.etcd.jetcd.support - package io.etcd.jetcd.support
- io.etcd.jetcd.watch - package io.etcd.jetcd.watch
- IPNameResolver - Class in io.etcd.jetcd.resolver
- IPNameResolver(URI) - Constructor for class io.etcd.jetcd.resolver.IPNameResolver
- IPResolverProvider - Class in io.etcd.jetcd.resolver
- IPResolverProvider() - Constructor for class io.etcd.jetcd.resolver.IPResolverProvider
- isAlwaysSafeToRetry(Status) - Static method in class io.etcd.jetcd.support.Errors
- isAttachedKeys() - Method in class io.etcd.jetcd.options.LeaseOption
- isAuthStoreExpired(Status) - Static method in class io.etcd.jetcd.support.Errors
- isAuthStoreExpired(Throwable) - Static method in class io.etcd.jetcd.support.Errors
- isAutoRetry() - Method in class io.etcd.jetcd.options.DeleteOption
-
Whether to treat a delete operation as idempotent from the point of view of automated retries.
- isAutoRetry() - Method in class io.etcd.jetcd.options.PutOption
-
Whether to treat a put operation as idempotent from the point of view of automated retries.
- isAutoRetry() - Method in class io.etcd.jetcd.options.TxnOption
-
Whether to treat a txn operation as idempotent from the point of view of automated retries.
- isAvailable() - Method in class io.etcd.jetcd.resolver.AbstractResolverProvider
- isClosed() - Method in interface io.etcd.jetcd.Watch.Watcher
-
Returns if watcher is already closed
- isCountOnly() - Method in class io.etcd.jetcd.options.GetOption
-
True if this request should only populate the count of keys matching a range, and no other data.
- isCreatedNotify() - Method in class io.etcd.jetcd.options.WatchOption
-
Whether watcher server send watch create event.
- isCreatedNotify() - Method in class io.etcd.jetcd.watch.WatchResponse
-
Returns true if the WatchResponse is created notification.
- isCreatedNotify(WatchResponse) - Static method in class io.etcd.jetcd.watch.WatchResponse
-
Returns true if the WatchResponse is created notification.
- isEmpty() - Method in class io.etcd.jetcd.ByteSequence
- isHaltError(Status) - Static method in class io.etcd.jetcd.support.Errors
- isInvalidTokenError(Status) - Static method in class io.etcd.jetcd.support.Errors
- isInvalidTokenError(Throwable) - Static method in class io.etcd.jetcd.support.Errors
- isKeysOnly() - Method in class io.etcd.jetcd.options.GetOption
-
True if this request should get only keys in a range and there is no need to retrieve the values.
- isLearner() - Method in class io.etcd.jetcd.cluster.Member
-
Returns if the member is raft learner
- isMore() - Method in class io.etcd.jetcd.kv.GetResponse
-
Returns 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.
- isNoLeaderError(Status) - Static method in class io.etcd.jetcd.support.Errors
- 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
- isPrefix() - Method in class io.etcd.jetcd.options.DeleteOption
-
Whether to treat this deletion as deletion by prefix
- isPrefix() - Method in class io.etcd.jetcd.options.GetOption
-
True if this Get request should do prefix match
- isPrefix() - Method in class io.etcd.jetcd.options.WatchOption
- isPrefix(boolean) - Method in class io.etcd.jetcd.options.DeleteOption.Builder
-
Enables 'Delete' requests to delete all the keys by prefix.
- isPrefix(boolean) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Enables 'Get' requests to obtain all the keys by prefix.
- isPrefix(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
-
Enables watch watch all the keys by prefix.
- 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.
- isProgressNotify() - Method in class io.etcd.jetcd.watch.WatchResponse
-
Returns true if the WatchResponse is progress notification.
- isProgressNotify(WatchResponse) - Static method in class io.etcd.jetcd.watch.WatchResponse
-
Returns true if the WatchResponse is progress notification.
- isRetryableForNoSafeRedoOp(Status) - Static method in class io.etcd.jetcd.support.Errors
- isRetryableForSafeRedoOp(Status) - Static method in class io.etcd.jetcd.support.Errors
- isSerializable() - Method in class io.etcd.jetcd.options.GetOption
-
Return if the consistency level for this request is "serializable".
- isSucceeded() - Method in class io.etcd.jetcd.kv.TxnResponse
-
Returns 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.
- keepaliveTime() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the keep alive time.
- keepaliveTime(Duration) - Method in class io.etcd.jetcd.ClientBuilder
-
The interval for gRPC keepalives.
- keepaliveTimeout() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the keep alive time out.
- keepaliveTimeout(Duration) - Method in class io.etcd.jetcd.ClientBuilder
-
The timeout for gRPC keepalives
- keepaliveWithoutCalls() - Method in class io.etcd.jetcd.ClientBuilder
- keepaliveWithoutCalls(Boolean) - Method in class io.etcd.jetcd.ClientBuilder
-
Keepalive option for gRPC
- key - Variable in class io.etcd.jetcd.op.Op
- KEY - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortTarget
- KeyValue - Class in io.etcd.jetcd
-
Etcd key value pair.
- KeyValue(KeyValue, ByteSequence) - Constructor for class io.etcd.jetcd.KeyValue
- KV - Interface in io.etcd.jetcd
-
Interface of kv client talking to etcd.
L
- leader(ByteSequence) - Method in interface io.etcd.jetcd.Election
-
Returns the current election proclamation, if any.
- LeaderKey - Class in io.etcd.jetcd.election
- LeaderKey(ByteSequence, ByteSequence, long, long) - Constructor for class io.etcd.jetcd.election.LeaderKey
- LeaderResponse - Class in io.etcd.jetcd.election
- LeaderResponse(LeaderResponse, ByteSequence) - Constructor for class io.etcd.jetcd.election.LeaderResponse
- 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 - Variable in class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
- LeaseKeepAliveResponse - Class in io.etcd.jetcd.lease
- LeaseKeepAliveResponse(LeaseKeepAliveResponse) - Constructor for class io.etcd.jetcd.lease.LeaseKeepAliveResponse
- LeaseKeepAliveResponseWithError - Class in io.etcd.jetcd.lease
- LeaseKeepAliveResponseWithError(EtcdException) - Constructor for class io.etcd.jetcd.lease.LeaseKeepAliveResponseWithError
- LeaseKeepAliveResponseWithError(LeaseKeepAliveResponse) - 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
- LESS - Enum constant in enum class io.etcd.jetcd.op.Cmp.Op
- 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>, Runnable) - Static method in interface io.etcd.jetcd.Watch
- listener(Consumer<WatchResponse>, Consumer<Throwable>) - 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.
- loadBalancerPolicy() - Method in class io.etcd.jetcd.ClientBuilder
-
get the load balancer policy for etcd client.
- loadBalancerPolicy(String) - Method in class io.etcd.jetcd.ClientBuilder
-
config load balancer policy.
- lock(ByteSequence, long) - Method in interface io.etcd.jetcd.Lock
-
Acquire a lock with the given name.
- Lock - Interface in io.etcd.jetcd
-
Interface of Lock talking to etcd.
- LockResponse - Class in io.etcd.jetcd.lock
- LockResponse(LockResponse, ByteSequence) - Constructor for class io.etcd.jetcd.lock.LockResponse
M
- Maintenance - Interface in io.etcd.jetcd
-
Interface of maintenance talking to etcd.
- mapDeleteRequest(ByteSequence, DeleteOption, ByteSequence) - Static method in class io.etcd.jetcd.support.Requests
- mapPutRequest(ByteSequence, ByteSequence, PutOption, ByteSequence) - Static method in class io.etcd.jetcd.support.Requests
- mapRangeRequest(ByteSequence, GetOption, ByteSequence) - Static method in class io.etcd.jetcd.support.Requests
- maxInboundMessageSize() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the maximum message size allowed for a single gRPC frame.
- 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, boolean)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
- MemorizingClientSupplier<T extends CloseableClient> - Class in io.etcd.jetcd.support
- MemorizingClientSupplier(Supplier<T>) - Constructor for class io.etcd.jetcd.support.MemorizingClientSupplier
- MOD - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortTarget
- 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
Maintenance.moveLeader(long). - MoveLeaderResponse(MoveLeaderResponse) - Constructor for class io.etcd.jetcd.maintenance.MoveLeaderResponse
N
- namespace() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the namespace of each key used
- namespace(ByteSequence) - Method in class io.etcd.jetcd.ClientBuilder
-
config the namespace of keys used in
KV,Txn,LockandWatch. - NAMESPACE_DELIMITER - Static variable in class io.etcd.jetcd.ByteSequence
- newBuilder() - Static method in class io.etcd.jetcd.options.CompactOption
-
Deprecated.
- newBuilder() - Static method in class io.etcd.jetcd.options.DeleteOption
-
Deprecated.
- newBuilder() - Static method in class io.etcd.jetcd.options.GetOption
-
Deprecated.
- newBuilder() - Static method in class io.etcd.jetcd.options.LeaseOption
-
Deprecated.
- newBuilder() - Static method in class io.etcd.jetcd.options.PutOption
-
Deprecated.
- newBuilder() - Static method in class io.etcd.jetcd.options.WatchOption
-
Deprecated.
- newNameResolver(URI, NameResolver.Args) - Method in class io.etcd.jetcd.resolver.AbstractResolverProvider
- newTxn(Function<TxnRequest, CompletableFuture<TxnResponse>>, ByteSequence) - Static method in class io.etcd.jetcd.op.TxnImpl
- NO_LEADER_ERROR_MESSAGE - Static variable in class io.etcd.jetcd.support.Errors
- NoLeaderException - Exception in io.etcd.jetcd.election
-
Signals that leader for given election does not exist.
- NoLeaderException() - Constructor for exception io.etcd.jetcd.election.NoLeaderException
- NONE - Enum constant in enum class io.etcd.jetcd.maintenance.AlarmType
- NONE - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortOrder
- NOSPACE - Enum constant in enum class io.etcd.jetcd.maintenance.AlarmType
- 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
- NOT_EQUAL - Enum constant in enum class io.etcd.jetcd.op.Cmp.Op
- NotLeaderException - Exception in io.etcd.jetcd.election
-
Signals that candidate is not a leader at the moment.
- NotLeaderException() - Constructor for exception io.etcd.jetcd.election.NotLeaderException
- NULL_KEY - Static variable in class io.etcd.jetcd.Constants
O
- observe(ByteSequence, Election.Listener) - Method in interface io.etcd.jetcd.Election
-
Listens to election proclamations in-order as made by the election's elected leaders.
- observer(Consumer<V>) - Static method in class io.etcd.jetcd.support.Observers
- Observers - Class in io.etcd.jetcd.support
- Observers.Builder<V> - Class in io.etcd.jetcd.support
- onCompleted() - Method in interface io.etcd.jetcd.Election.Listener
-
Invoked on completion.
- onCompleted() - Method in interface io.etcd.jetcd.Watch.Listener
-
Invoked on completion.
- onCompleted(Runnable) - Method in class io.etcd.jetcd.support.Observers.Builder
- onError(Throwable) - Method in interface io.etcd.jetcd.Election.Listener
-
Invoked on errors.
- onError(Throwable) - Method in interface io.etcd.jetcd.Watch.Listener
-
Invoked on errors.
- onError(Consumer<Throwable>) - Method in class io.etcd.jetcd.support.Observers.Builder
- onNext(LeaderResponse) - Method in interface io.etcd.jetcd.Election.Listener
-
Invoked on new leader elected.
- onNext(WatchResponse) - Method in interface io.etcd.jetcd.Watch.Listener
-
Invoked on new events.
- onNext(Consumer<V>) - Method in class io.etcd.jetcd.support.Observers.Builder
- 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 Class in io.etcd.jetcd.op
-
Operation type.
- OptionsUtil - Class in io.etcd.jetcd.options
P
- password() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the auth password
- 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 Class in io.etcd.jetcd.auth
- Preconditions - Class in io.etcd.jetcd
- Preconditions() - Constructor for class io.etcd.jetcd.Preconditions
- prefixEndOf(ByteSequence) - Static method in class io.etcd.jetcd.options.OptionsUtil
-
Gets the range end of the given prefix.
- prefixNamespace(ByteString, ByteSequence) - Static method in class io.etcd.jetcd.support.Util
- prefixNamespace(ByteSequence, ByteSequence) - Static method in class io.etcd.jetcd.support.Util
- prefixNamespaceToRangeEnd(ByteString, ByteSequence) - Static method in class io.etcd.jetcd.support.Util
- prefixNamespaceToRangeEnd(ByteSequence, ByteSequence) - Static method in class io.etcd.jetcd.support.Util
- priority() - Method in class io.etcd.jetcd.resolver.AbstractResolverProvider
- proclaim(LeaderKey, ByteSequence) - Method in interface io.etcd.jetcd.Election
-
Proclaim updates the leader's posted value with a new value.
- ProclaimResponse - Class in io.etcd.jetcd.election
- ProclaimResponse(ProclaimResponse) - Constructor for class io.etcd.jetcd.election.ProclaimResponse
- 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
- PUT - Enum constant in enum class io.etcd.jetcd.op.Op.Type
- PUT - Enum constant in enum class io.etcd.jetcd.watch.WatchEvent.EventType
- 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, ByteSequence) - Constructor for class io.etcd.jetcd.kv.PutResponse
R
- RANGE - Enum constant in enum class io.etcd.jetcd.op.Op.Type
- READ - Enum constant in enum class io.etcd.jetcd.auth.Permission.Type
- READWRITE - Enum constant in enum class io.etcd.jetcd.auth.Permission.Type
- refresh() - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- removeMember(long) - Method in interface io.etcd.jetcd.Cluster
-
removes an existing member from the cluster.
- requestProgress() - Method in interface io.etcd.jetcd.Watch
-
Requests the latest revision processed for all watcher instances
- requestProgress() - Method in interface io.etcd.jetcd.Watch.Watcher
-
Requests the latest revision processed and propagates it to listeners
- Requests - Class in io.etcd.jetcd.support
- REQUIRE_LEADER_KEY - Static variable in class io.etcd.jetcd.Constants
- REQUIRE_LEADER_VALUE - Static variable in class io.etcd.jetcd.Constants
- resign(LeaderKey) - Method in interface io.etcd.jetcd.Election
-
Resign releases election leadership so other campaigners may acquire leadership on the election.
- ResignResponse - Class in io.etcd.jetcd.election
- ResignResponse(ResignResponse) - Constructor for class io.etcd.jetcd.election.ResignResponse
- Response - Interface in io.etcd.jetcd
-
represents a generic Jetcd response.
- Response.Header - Interface in io.etcd.jetcd
- retryChronoUnit() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns he retries period unit.
- retryChronoUnit(ChronoUnit) - Method in class io.etcd.jetcd.ClientBuilder
-
Sets the retries period unit.
- retryDelay() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns The delay between retries.
- retryDelay(long) - Method in class io.etcd.jetcd.ClientBuilder
-
The delay between retries.
- retryMaxAttempts() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the max number of retry attempts
- retryMaxAttempts(int) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the max number of retry attempts
- retryMaxDelay() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the max backing off delay between retries
- retryMaxDelay(long) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the max backing off delay between retries.
- retryMaxDuration() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the retries max duration.
- retryMaxDuration(Duration) - Method in class io.etcd.jetcd.ClientBuilder
-
Set the retries max duration.
- 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
- SCHEME - Static variable in class io.etcd.jetcd.resolver.DnsSrvNameResolver
- SCHEME - Static variable in class io.etcd.jetcd.resolver.HttpNameResolver
- SCHEME - Static variable in class io.etcd.jetcd.resolver.HttpsNameResolver
- SCHEME - Static variable in class io.etcd.jetcd.resolver.IPNameResolver
- shutdown() - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- size() - Method in class io.etcd.jetcd.ByteSequence
- snapshot(StreamObserver<SnapshotResponse>) - Method in interface io.etcd.jetcd.Maintenance
-
retrieves backend snapshot as as stream of chunks.
- snapshot(OutputStream) - Method in interface io.etcd.jetcd.Maintenance
-
retrieves backend snapshot.
- 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
-
Returns the ssl context
- sslContext(SslContext) - Method in class io.etcd.jetcd.ClientBuilder
-
SSL/TLS context to use instead of the system default.
- sslContext(Consumer<SslContextBuilder>) - Method in class io.etcd.jetcd.ClientBuilder
-
Configure SSL/TLS context create through
GrpcSslContexts.forClient()to use. - start(NameResolver.Listener) - Method in class io.etcd.jetcd.resolver.AbstractNameResolver
- startsWith(ByteSequence) - Method in class io.etcd.jetcd.ByteSequence
-
Tests if this
ByteSequencestarts with the specified prefix. - statusMember(String) - 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(String)contains a header, version, dbSize, current leader, raftIndex, and raftTerm. - StatusResponse(StatusResponse) - Constructor for class io.etcd.jetcd.maintenance.StatusResponse
- substring(int) - Method in class io.etcd.jetcd.ByteSequence
-
Return the substring from
ByteSequence, inclusive, to the end of the string. - substring(int, int) - Method in class io.etcd.jetcd.ByteSequence
-
Return the substring from
beginIndex, inclusive, toendIndex, exclusive.
T
- target() - Method in class io.etcd.jetcd.ClientBuilder
-
Gets the etcd target.
- target(String) - Method in class io.etcd.jetcd.ClientBuilder
-
configure etcd server endpoints.
- 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.
- 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.ByteSequence
- toString() - Method in class io.etcd.jetcd.impl.AbstractResponse
- toString() - Method in class io.etcd.jetcd.support.MemorizingClientSupplier
- toString(Charset) - Method in class io.etcd.jetcd.ByteSequence
- toURIs(Collection<String>) - Static method in class io.etcd.jetcd.support.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(TxnOption) - Method in interface io.etcd.jetcd.KV
-
creates a transaction.
- Txn - Interface in io.etcd.jetcd
-
Txn is the interface that wraps mini-transactions.
- TXN - Enum constant in enum class io.etcd.jetcd.op.Op.Type
- TxnImpl - Class in io.etcd.jetcd.op
-
Build an etcd transaction.
- TxnOption - Class in io.etcd.jetcd.options
- TxnOption.Builder - Class in io.etcd.jetcd.options
- 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, ByteSequence) - 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
- unprefixNamespace(ByteString, ByteSequence) - Static method in class io.etcd.jetcd.support.Util
- UNRECOGNIZED - Enum constant in enum class io.etcd.jetcd.auth.Permission.Type
- UNRECOGNIZED - Enum constant in enum class io.etcd.jetcd.maintenance.AlarmType
- UNRECOGNIZED - Enum constant in enum class io.etcd.jetcd.watch.WatchEvent.EventType
- updateMember(long, List<URI>) - Method in interface io.etcd.jetcd.Cluster
-
update peer addresses of the member.
- user() - Method in class io.etcd.jetcd.ClientBuilder
-
Returns the auth user
- 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.support
V
- value(ByteSequence) - Static method in class io.etcd.jetcd.op.CmpTarget
-
Cmp on the value.
- VALUE - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortTarget
- valueOf(String) - Static method in enum class io.etcd.jetcd.auth.Permission.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.maintenance.AlarmType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.op.Cmp.Op
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.op.Op.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.options.GetOption.SortOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.options.GetOption.SortTarget
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.etcd.jetcd.watch.WatchEvent.EventType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.etcd.jetcd.auth.Permission.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.maintenance.AlarmType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.op.Cmp.Op
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.op.Op.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.options.GetOption.SortOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.options.GetOption.SortTarget
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.etcd.jetcd.watch.WatchEvent.EventType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- version(long) - Static method in class io.etcd.jetcd.op.CmpTarget
-
Cmp on a given version.
- VERSION - Enum constant in enum class io.etcd.jetcd.options.GetOption.SortTarget
W
- waitForReady() - Method in class io.etcd.jetcd.ClientBuilder
-
Enable gRPC's wait for ready semantics.
- waitForReady(boolean) - Method in class io.etcd.jetcd.ClientBuilder
-
Configure the gRPC's wait for ready semantics.
- watch(ByteSequence, WatchOption, Watch.Listener) - Method in interface io.etcd.jetcd.Watch
-
watch on a key with option.
- watch(ByteSequence, WatchOption, Consumer<WatchResponse>) - Method in interface io.etcd.jetcd.Watch
-
Watch key with option.
- watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Runnable) - Method in interface io.etcd.jetcd.Watch
-
Watch key with option.
- watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Consumer<Throwable>) - Method in interface io.etcd.jetcd.Watch
-
Watch key with option.
- watch(ByteSequence, WatchOption, Consumer<WatchResponse>, Consumer<Throwable>, Runnable) - Method in interface io.etcd.jetcd.Watch
-
Watch 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 key.
- watch(ByteSequence, Consumer<WatchResponse>, Runnable) - Method in interface io.etcd.jetcd.Watch
-
Watch key.
- watch(ByteSequence, Consumer<WatchResponse>, Consumer<Throwable>) - Method in interface io.etcd.jetcd.Watch
-
Watch key.
- watch(ByteSequence, Consumer<WatchResponse>, Consumer<Throwable>, Runnable) - Method in interface io.etcd.jetcd.Watch
-
Watch key.
- Watch - Interface in io.etcd.jetcd
-
Interface of the watch client.
- 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 Class 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
- WatchResponse(WatchResponse, ByteSequence) - Constructor for class io.etcd.jetcd.watch.WatchResponse
- WatchResponseWithError - Class in io.etcd.jetcd.watch
- WatchResponseWithError(EtcdException) - Constructor for class io.etcd.jetcd.watch.WatchResponseWithError
- WatchResponseWithError(WatchResponse) - 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.
- withAutoRetry() - Method in class io.etcd.jetcd.options.DeleteOption.Builder
-
When autoRetry is set, the delete operation is treated as idempotent from the point of view of automated retries.
- withAutoRetry() - Method in class io.etcd.jetcd.options.PutOption.Builder
-
When autoRetry is set, treat this put as idempotent from the point of view of automated retries.
- withAutoRetry() - Method in class io.etcd.jetcd.options.TxnOption.Builder
-
When autoRetry is set, the txn operation is treated as idempotent from the point of view of automated retries.
- 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.
- withCreateNotify(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
-
When createNotify is set, the watch server sends event when watch is created.
- 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.
- withMaxCreateRevision(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Limit returned keys to those with create revision less or equal than the provided value.
- withMaxModRevision(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Limit returned keys to those with mod revision less or equal than the provided value.
- withMinCreateRevision(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Limit returned keys to those with create revision greater or equal than the provided value.
- withMinModRevision(long) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Limit returned keys to those with mod revision greater or equal than the provided value.
- 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
-
Deprecated.Use
DeleteOption.Builder.isPrefix(boolean)instead. - withPrefix(ByteSequence) - Method in class io.etcd.jetcd.options.GetOption.Builder
-
Deprecated.Use
GetOption.Builder.isPrefix(boolean)instead. - withPrefix(ByteSequence) - Method in class io.etcd.jetcd.options.WatchOption.Builder
-
Deprecated.Use
WatchOption.Builder.isPrefix(boolean)instead. - 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.DeleteOption.Builder
-
Get the previous key/value pairs before deleting them.
- 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 watch request.
- withRequireLeader() - Method in class io.etcd.jetcd.options.WatchOption
-
If true, when creating the watch streaming stub, use the REQUIRED_LEADER Metadata annotation, which ensures the stream will error out if quorum is lost by the server the stream is connected to.
- withRequireLeader(boolean) - Method in class io.etcd.jetcd.options.WatchOption.Builder
-
When creating the watch streaming stub, use the REQUIRED_LEADER Metadata annotation, which ensures the stream will error out if quorum is lost by the server the stream is connected to.
- 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 watch 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.
- WRITE - Enum constant in enum class io.etcd.jetcd.auth.Permission.Type
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CompactOption.builder()