public interface LocalLockMediatorProvider
LocalLockMediators.| Modifier and Type | Method and Description |
|---|---|
<T> LocalLockMediator<T> |
get(String namespace,
TimestampProvider times)
Returns a the single
LocalLockMediator responsible for the
specified namespace. |
<T> LocalLockMediator<T> get(String namespace, TimestampProvider times)
LocalLockMediator responsible for the
specified namespace.
For any given namespace, the same object must be returned every
time get(n) is called, no matter what thread calls it or how many
times.
For any two unequal namespace strings n and m,
get(n) must not equal get(m). in other words, each
namespace must have a distinct mediator.namespace - the arbitrary identifier for a local lock mediatornamespaceLocalLockMediatorCopyright © 2012–2015. All rights reserved.