Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

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

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.