Skip navigation links
C D E G I J L M O R S T U 

C

config() - Static method in class io.atomix.coordination.DistributedGroup
Returns a new group configuration.
config() - Static method in class io.atomix.coordination.DistributedLock
Returns a new lock configuration.

D

DistributedGroup - Class in io.atomix.coordination
Provides a mechanism for managing group membership and remote scheduling and execution.
DistributedGroup(CopycatClient, Resource.Options) - Constructor for class io.atomix.coordination.DistributedGroup
 
DistributedLock - Class in io.atomix.coordination
Provides a mechanism for synchronizing access to cluster-wide shared resources.
DistributedLock(CopycatClient, Resource.Options) - Constructor for class io.atomix.coordination.DistributedLock
 

E

execute(Runnable) - Method in interface io.atomix.coordination.GroupMember
Executes a callback on the group member.

G

get(String) - Method in interface io.atomix.coordination.GroupMember
Gets the value of a property of the member.
GroupMember - Interface in io.atomix.coordination
Provides an interface to interacting with members of a DistributedGroup.

I

id() - Method in interface io.atomix.coordination.GroupMember
Returns the member ID.
io.atomix.coordination - package io.atomix.coordination
Provides distributed coordination resources such as DistributedLock and io.atomix.coordination.DistributedLeaderElection, and DistributedGroup.
isLeader() - Method in interface io.atomix.coordination.GroupMember
Returns a boolean value indicating whether this member is the current leader.

J

join() - Method in class io.atomix.coordination.DistributedGroup
Joins the instance to the membership group.
join(String) - Method in class io.atomix.coordination.DistributedGroup
Joins the instance to the membership group with a user-provided member ID.

L

leader() - Method in class io.atomix.coordination.DistributedGroup
Returns the current group leader.
leave() - Method in interface io.atomix.coordination.LocalGroupMember
Leaves the membership group.
LocalGroupMember - Interface in io.atomix.coordination
Local group member.
lock() - Method in class io.atomix.coordination.DistributedLock
Acquires the lock.

M

member(String) - Method in class io.atomix.coordination.DistributedGroup
Gets a group member by ID.
members() - Method in class io.atomix.coordination.DistributedGroup
Gets the collection of all members in the group.

O

onElection(Consumer<GroupMember>) - Method in class io.atomix.coordination.DistributedGroup
Registers a callback to be called when a member of the group is elected leader.
onElection(Consumer<Long>) - Method in interface io.atomix.coordination.LocalGroupMember
Registers a callback to be called when this member is elected leader.
onJoin(Consumer<GroupMember>) - Method in class io.atomix.coordination.DistributedGroup
Adds a listener for members joining the group.
onLeave(Consumer<GroupMember>) - Method in class io.atomix.coordination.DistributedGroup
Adds a listener for members leaving the group.
onMessage(String, Consumer<T>) - Method in interface io.atomix.coordination.LocalGroupMember
Handles a message to the member.
onTerm(Consumer<Long>) - Method in class io.atomix.coordination.DistributedGroup
Registers a callback to be called when the term changes.
open() - Method in class io.atomix.coordination.DistributedGroup
 
open() - Method in class io.atomix.coordination.DistributedLock
 
options() - Static method in class io.atomix.coordination.DistributedGroup
Returns new group options.
options() - Static method in class io.atomix.coordination.DistributedLock
Returns new lock options.

R

remove(String) - Method in interface io.atomix.coordination.LocalGroupMember
Removes a property of the member.
resign() - Method in interface io.atomix.coordination.LocalGroupMember
Resigns from leadership.

S

schedule(Instant, Runnable) - Method in interface io.atomix.coordination.GroupMember
Schedules a callback to run at the given instant.
schedule(Duration, Runnable) - Method in interface io.atomix.coordination.GroupMember
Schedules a callback to run after the given delay on the member.
send(String, Object) - Method in interface io.atomix.coordination.GroupMember
Sends a message to the member.
set(String, Object) - Method in interface io.atomix.coordination.LocalGroupMember
Sets the value of a property of the member.

T

term() - Method in class io.atomix.coordination.DistributedGroup
Returns the current group term.
tryLock() - Method in class io.atomix.coordination.DistributedLock
Attempts to acquire the lock if available.
tryLock(Duration) - Method in class io.atomix.coordination.DistributedLock
Attempts to acquire the lock if available within the given timeout.

U

unlock() - Method in class io.atomix.coordination.DistributedLock
Releases the lock.
C D E G I J L M O R S T U 
Skip navigation links

Copyright © 2013–2016. All rights reserved.