com.thinkaurelius.titan.diskstorage.locking

## Interface LocalLockMediatorProvider

- All Known Implementing Classes:
    LocalLockMediators

      public interface LocalLockMediatorProvider

  Service provider interface for `LocalLockMediators`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> LocalLockMediator<T>` | `get(String namespace, TimestampProvider times)` Returns a the single `LocalLockMediator` responsible for the specified `namespace`.

- - ### Method Detail

    - #### get

          <T> LocalLockMediator<T> get(String namespace,
                                     TimestampProvider times)

      Returns a the single `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.
      Parameters:
        `namespace` - the arbitrary identifier for a local lock mediator
      Returns:
        the local lock mediator for `namespace`
      See Also:
        `LocalLockMediator`

Copyright © 2012–2014. All rights reserved.