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

B

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

C

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

D

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

E

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

F

fromBytes(byte[]) - Static method in class com.coreos.jetcd.data.ByteSequence
 
fromByteString(ByteString) - Static method in class com.coreos.jetcd.data.ByteSequence
 
fromCharBuffer(CharBuffer) - Static method in class com.coreos.jetcd.data.ByteSequence
 
fromCharSequence(CharSequence) - Static method in class com.coreos.jetcd.data.ByteSequence
 
fromString(String) - Static method in class com.coreos.jetcd.data.ByteSequence
 

G

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

H

hashCode() - Method in class com.coreos.jetcd.data.ByteSequence
 
hashKV(String, long) - Method in interface com.coreos.jetcd.Maintenance
returns a hash of the KV state at the time of the RPC.
HashKVResponse - Class in com.coreos.jetcd.maintenance
HashKVResponse returned by Maintenance#HashKV(String, long).
HashKVResponse(HashKVResponse) - Constructor for class com.coreos.jetcd.maintenance.HashKVResponse
 
hasPrevKv() - Method in class com.coreos.jetcd.kv.PutResponse
 

I

If(Cmp...) - Method in class com.coreos.jetcd.op.TxnImpl
 
If(Cmp...) - Method in interface com.coreos.jetcd.Txn
takes a list of comparison.
isAttachedKeys() - Method in class com.coreos.jetcd.options.LeaseOption
 
isCountOnly() - Method in class com.coreos.jetcd.options.GetOption
 
isKeysOnly() - Method in class com.coreos.jetcd.options.GetOption
 
isMore() - Method in class com.coreos.jetcd.kv.GetResponse
more indicates if there are more keys to return in the requested range.
isNoDelete() - Method in class com.coreos.jetcd.options.WatchOption
Whether filter delete event in server side.
isNoPut() - Method in class com.coreos.jetcd.options.WatchOption
Whether filter put event in server side.
isPhysical() - Method in class com.coreos.jetcd.options.CompactOption
 
isPrevKV() - Method in class com.coreos.jetcd.options.DeleteOption
Whether to get the previous key/value pairs before deleting them.
isPrevKV() - Method in class com.coreos.jetcd.options.WatchOption
Whether created watcher gets the previous KV before the event happens.
isProgressNotify() - Method in class com.coreos.jetcd.options.WatchOption
Whether watcher server send periodic progress updates.
isSerializable() - Method in class com.coreos.jetcd.options.GetOption
 
isSucceeded() - Method in class com.coreos.jetcd.kv.TxnResponse
return true if the compare evaluated to true or false otherwise.

K

keepAlive(long) - Method in class com.coreos.jetcd.internal.impl.LeaseImpl
 
keepAlive(long) - Method in interface com.coreos.jetcd.Lease
keep the given lease alive forever.
keepAliveOnce(long) - Method in class com.coreos.jetcd.internal.impl.LeaseImpl
 
keepAliveOnce(long) - Method in interface com.coreos.jetcd.Lease
keep alive one lease only once.
key - Variable in class com.coreos.jetcd.op.Op
 
KeyValue - Class in com.coreos.jetcd.data
Etcd key value pair.
KeyValue(KeyValue) - Constructor for class com.coreos.jetcd.data.KeyValue
 
KV - Interface in com.coreos.jetcd
Interface of kv client talking to etcd.

L

lazyInitialization() - Method in class com.coreos.jetcd.ClientBuilder
 
lazyInitialization(boolean) - Method in class com.coreos.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 com.coreos.jetcd
Interface of KeepAlive talking to etcd.
Lease.KeepAliveListener - Interface in com.coreos.jetcd
KeepAliveListener listens for LeaseKeepAliveResponse of a given leaseID.
LeaseGrantResponse - Class in com.coreos.jetcd.lease
 
LeaseGrantResponse(LeaseGrantResponse) - Constructor for class com.coreos.jetcd.lease.LeaseGrantResponse
 
LeaseImpl - Class in com.coreos.jetcd.internal.impl
Implementation of lease client.
LeaseKeepAliveResponse - Class in com.coreos.jetcd.lease
 
LeaseKeepAliveResponse(LeaseKeepAliveResponse) - Constructor for class com.coreos.jetcd.lease.LeaseKeepAliveResponse
 
leaseKeepAliveResponse - Variable in class com.coreos.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseKeepAliveResponseWithError - Class in com.coreos.jetcd.lease
 
LeaseKeepAliveResponseWithError(LeaseKeepAliveResponse) - Constructor for class com.coreos.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseKeepAliveResponseWithError(EtcdException) - Constructor for class com.coreos.jetcd.lease.LeaseKeepAliveResponseWithError
 
LeaseOption - Class in com.coreos.jetcd.options
 
LeaseOption.Builder - Class in com.coreos.jetcd.options
 
LeaseRevokeResponse - Class in com.coreos.jetcd.lease
 
LeaseRevokeResponse(LeaseRevokeResponse) - Constructor for class com.coreos.jetcd.lease.LeaseRevokeResponse
 
LeaseTimeToLiveResponse - Class in com.coreos.jetcd.lease
 
LeaseTimeToLiveResponse(LeaseTimeToLiveResponse) - Constructor for class com.coreos.jetcd.lease.LeaseTimeToLiveResponse
 
listAlarms() - Method in interface com.coreos.jetcd.Maintenance
get all active keyspace alarm.
listen() - Method in interface com.coreos.jetcd.Lease.KeepAliveListener
Listen for keep-alive events.
listen() - Method in interface com.coreos.jetcd.Watch.Watcher
Retrieves next watch key, waiting if there are none.
listMember() - Method in interface com.coreos.jetcd.Cluster
lists the current cluster membership.
loadBalancerFactory(LoadBalancer.Factory) - Method in class com.coreos.jetcd.ClientBuilder
config LoadBalancer factory.
loadBalancerFactory() - Method in class com.coreos.jetcd.ClientBuilder
get LoadBalancer.Factory for etcd client.
Lock - Interface in com.coreos.jetcd
Interface of Lock talking to etcd.
lock(ByteSequence, long) - Method in interface com.coreos.jetcd.Lock
Acquire a lock with the given name.
LockResponse - Class in com.coreos.jetcd.lock
 
LockResponse(LockResponse) - Constructor for class com.coreos.jetcd.lock.LockResponse
 

M

Maintenance - Interface in com.coreos.jetcd
Interface of maintenance talking to etcd.
Maintenance.Snapshot - Interface in com.coreos.jetcd
 
Member - Class in com.coreos.jetcd.cluster
 
Member(Member) - Constructor for class com.coreos.jetcd.cluster.Member
 
MemberAddResponse - Class in com.coreos.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 com.coreos.jetcd.cluster.MemberAddResponse
 
MemberListResponse - Class in com.coreos.jetcd.cluster
MemberListResponse returned by Cluster.listMember() contains a header and a list of members.
MemberListResponse(MemberListResponse) - Constructor for class com.coreos.jetcd.cluster.MemberListResponse
 
MemberRemoveResponse - Class in com.coreos.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 com.coreos.jetcd.cluster.MemberRemoveResponse
 
MemberUpdateResponse - Class in com.coreos.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 com.coreos.jetcd.cluster.MemberUpdateResponse
 
modRevision(long) - Static method in class com.coreos.jetcd.op.CmpTarget
Cmp on the modification revision.
moveLeader(long) - Method in interface com.coreos.jetcd.Maintenance
moveLeader requests current leader to transfer its leadership to the transferee.
MoveLeaderResponse - Class in com.coreos.jetcd.maintenance
MoveLeaderResponse returned by com.coreos.jetcd.Maintenance#MoveLeader(long).
MoveLeaderResponse(MoveLeaderResponse) - Constructor for class com.coreos.jetcd.maintenance.MoveLeaderResponse
 

N

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

O

Op - Class in com.coreos.jetcd.op
Etcd Operation.
Op(Op.Type, ByteString) - Constructor for class com.coreos.jetcd.op.Op
 
Op.DeleteOp - Class in com.coreos.jetcd.op
 
Op.GetOp - Class in com.coreos.jetcd.op
 
Op.PutOp - Class in com.coreos.jetcd.op
 
Op.TxnOp - Class in com.coreos.jetcd.op
 
Op.Type - Enum in com.coreos.jetcd.op
Operation type.
OptionsUtil - Class in com.coreos.jetcd.options
 

P

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

R

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

S

snapshot() - Method in interface com.coreos.jetcd.Maintenance
retrieves backend snapshot.
SnapshotReaderResponseWithError - Class in com.coreos.jetcd.maintenance
 
SnapshotReaderResponseWithError(SnapshotResponse) - Constructor for class com.coreos.jetcd.maintenance.SnapshotReaderResponseWithError
 
SnapshotReaderResponseWithError(Exception) - Constructor for class com.coreos.jetcd.maintenance.SnapshotReaderResponseWithError
 
snapshotResponse - Variable in class com.coreos.jetcd.maintenance.SnapshotReaderResponseWithError
 
sslContext() - Method in class com.coreos.jetcd.ClientBuilder
 
sslContext(SslContext) - Method in class com.coreos.jetcd.ClientBuilder
SSL/TLS context to use instead of the system default.
statusMember(String) - Method in interface com.coreos.jetcd.Maintenance
get the status of a member by its endpoint.
StatusResponse - Class in com.coreos.jetcd.maintenance
StatusResponse returned by Maintenance.statusMember(String) contains a header, version, dbSize, current leader, raftIndex, and raftTerm.
StatusResponse(StatusResponse) - Constructor for class com.coreos.jetcd.maintenance.StatusResponse
 

T

Then(Op...) - Method in class com.coreos.jetcd.op.TxnImpl
 
Then(Op...) - Method in interface com.coreos.jetcd.Txn
takes a list of operations.
timeToLive(long, LeaseOption) - Method in class com.coreos.jetcd.internal.impl.LeaseImpl
 
timeToLive(long, LeaseOption) - Method in interface com.coreos.jetcd.Lease
retrieves the lease information of the given lease ID.
TOKEN - Static variable in class com.coreos.jetcd.Constants
 
toRangeRequestSortOrder(GetOption.SortOrder) - Static method in class com.coreos.jetcd.options.OptionsUtil
convert client SortOrder to apu SortOrder.
toRangeRequestSortTarget(GetOption.SortTarget) - Static method in class com.coreos.jetcd.options.OptionsUtil
convert client SortTarget to apu SortTarget.
toString() - Method in class com.coreos.jetcd.data.AbstractResponse
 
toString(Charset) - Method in class com.coreos.jetcd.data.ByteSequence
 
toString(String) - Method in class com.coreos.jetcd.data.ByteSequence
 
toStringUtf8() - Method in class com.coreos.jetcd.data.ByteSequence
 
txn() - Method in interface com.coreos.jetcd.KV
creates a transaction.
txn(Cmp[], Op[], Op[]) - Static method in class com.coreos.jetcd.op.Op
 
Txn - Interface in com.coreos.jetcd
Txn is the interface that wraps mini-transactions.
TxnImpl - Class in com.coreos.jetcd.op
Build an etcd transaction.
TxnOp(Cmp[], Op[], Op[]) - Constructor for class com.coreos.jetcd.op.Op.TxnOp
 
TxnResponse - Class in com.coreos.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 com.coreos.jetcd.kv.TxnResponse
 
type - Variable in class com.coreos.jetcd.op.Op
 

U

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

V

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

W

Watch - Interface in com.coreos.jetcd
Interface of the watch client.
watch(ByteSequence, WatchOption) - Method in interface com.coreos.jetcd.Watch
watch on a key with option.
watch(ByteSequence) - Method in interface com.coreos.jetcd.Watch
watch on a key.
Watch.Watcher - Interface in com.coreos.jetcd
Interface of Watcher.
WatchEvent - Class in com.coreos.jetcd.watch
Watch event, return by watch, contain put, delete event.
WatchEvent(KeyValue, KeyValue, WatchEvent.EventType) - Constructor for class com.coreos.jetcd.watch.WatchEvent
 
WatchEvent.EventType - Enum in com.coreos.jetcd.watch
 
WatchOption - Class in com.coreos.jetcd.options
The option for watch operation.
WatchOption.Builder - Class in com.coreos.jetcd.options
 
WatchResponse - Class in com.coreos.jetcd.watch
 
WatchResponse(WatchResponse) - Constructor for class com.coreos.jetcd.watch.WatchResponse
 
WatchResponseWithError - Class in com.coreos.jetcd.watch
 
WatchResponseWithError(WatchResponse) - Constructor for class com.coreos.jetcd.watch.WatchResponseWithError
 
WatchResponseWithError(EtcdException) - Constructor for class com.coreos.jetcd.watch.WatchResponseWithError
 
withAttachedKeys() - Method in class com.coreos.jetcd.options.LeaseOption.Builder
requests lease timeToLive API to return attached keys of given lease ID.
withCompactPhysical(boolean) - Method in class com.coreos.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 com.coreos.jetcd.options.GetOption.Builder
Set the get request to only return count of the keys.
withKeysOnly(boolean) - Method in class com.coreos.jetcd.options.GetOption.Builder
Set the get request to only return keys.
withLeaseId(long) - Method in class com.coreos.jetcd.options.PutOption.Builder
Assign a leaseId for a put operation.
withLimit(long) - Method in class com.coreos.jetcd.options.GetOption.Builder
Limit the number of keys to return for a get request.
withNoDelete(boolean) - Method in class com.coreos.jetcd.options.WatchOption.Builder
filter out delete event in server side.
withNoPut(boolean) - Method in class com.coreos.jetcd.options.WatchOption.Builder
filter out put event in server side.
withPrefix(ByteSequence) - Method in class com.coreos.jetcd.options.DeleteOption.Builder
Enables 'Delete' requests to delete all the keys with matching prefix.
withPrefix(ByteSequence) - Method in class com.coreos.jetcd.options.GetOption.Builder
Enables 'Get' requests to obtain all the keys with matching prefix.
withPrefix(ByteSequence) - Method in class com.coreos.jetcd.options.WatchOption.Builder
Enables watch all the keys with matching prefix.
withPrevKV(boolean) - Method in class com.coreos.jetcd.options.DeleteOption.Builder
Get the previous key/value pairs before deleting them.
withPrevKV() - Method in class com.coreos.jetcd.options.PutOption.Builder
When withPrevKV is set, put response contains previous key-value pair.
withPrevKV(boolean) - Method in class com.coreos.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 com.coreos.jetcd.options.WatchOption.Builder
When progressNotify is set, the watch server send periodic progress updates.
withRange(ByteSequence) - Method in class com.coreos.jetcd.options.DeleteOption.Builder
Set the end key of the delete request.
withRange(ByteSequence) - Method in class com.coreos.jetcd.options.GetOption.Builder
Set the end key of the get request.
withRange(ByteSequence) - Method in class com.coreos.jetcd.options.WatchOption.Builder
Set the end key of the get request.
withRevision(long) - Method in class com.coreos.jetcd.options.GetOption.Builder
Provide the revision to use for the get request.
withRevision(long) - Method in class com.coreos.jetcd.options.WatchOption.Builder
Provide the revision to use for the get request.
withSerializable(boolean) - Method in class com.coreos.jetcd.options.GetOption.Builder
Set the get request to be a serializable get request.
withSortField(GetOption.SortTarget) - Method in class com.coreos.jetcd.options.GetOption.Builder
Sort the return key value pairs in the provided field.
withSortOrder(GetOption.SortOrder) - Method in class com.coreos.jetcd.options.GetOption.Builder
Sort the return key value pairs in the provided order.
write(OutputStream) - Method in interface com.coreos.jetcd.Maintenance.Snapshot
Write backend snapshot to user provided OutputStream.
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 © 2018. All rights reserved.