org.locationtech.geomesa.accumulo.util
Gets and acquires a distributed lock based on the key.
Gets and acquires a distributed lock based on the key. Make sure that you 'release' the lock in a finally block.
key to lock on - equivalent to a path in zookeeper
how long to wait to acquire the lock, in millis
the lock, if obtained
Gets and acquires a distributed lock based on the key.
Gets and acquires a distributed lock based on the key. Make sure that you 'release' the lock in a finally block.
key to lock on - equivalent to a path in zookeeper
the lock