This class represents the information stored in the 'locks' table.
This actor is responsible for touching the lock of a singleton leader periodically to prevent it from timing out.
This actor is responsible for touching the lock of a singleton leader periodically to prevent it from timing out.
The most critical thing this actor needs to make sure is that it reports a failure to touch the lock using the onFailure callback.
Handle class to provide context used by all singletons (mostly the Cassandra database connection for now)
Configuration for leaders beyond the configuration provided by the log itself.
Configuration for leaders beyond the configuration provided by the log itself.
The manager will pick a random startup delay between 0 and initialMaxDelay in order to avoid that all managers try to grab a lock at the same time upon startup.
Specifies how often the SingletonManager will try to acquire the given lock in the absence of retrieved LockInfo and to which check interval the lock will be set if tt is initially created by a SingletonManager
Specifies the TTL of the lock if it is initially created by a SingletonManager
Specifies whether the lock is initially created as active or inactive.
Base class for workers to be managed by singleton manager.
Base class for workers to be managed by singleton manager.
FIXME: Examples.
This class represents the information stored in the 'locks' table. See also Table.