Mutex.Options

public static class Mutex.Options

Optional attributes for Mutex

Public Methods

Mutex.Options
container(String container)
Mutex.Options
sharedName(String sharedName)

Inherited Methods

boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Methods

public Mutex.Options container (String container)

Parameters
container If non-empty, this variable is placed in the given container. Otherwise, a default container is used.

public Mutex.Options sharedName (String sharedName)

Parameters
sharedName If non-empty, this variable is named in the given bucket with this shared_name. Otherwise, the node name is used instead.