com.thinkaurelius.titan.graphdb.transaction.lock

## Class CombinerLock

- java.lang.Object
- - com.thinkaurelius.titan.graphdb.transaction.lock.CombinerLock

- All Implemented Interfaces:
    TransactionLock

      public class CombinerLock
      extends Object
      implements TransactionLock

  Author:
    Matthias Broecheler (me@matthiasb.com)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CombinerLock(TransactionLock first, TransactionLock second, TimestampProvider times)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `inUse()`
    `void` | `lock(Duration timeout)`
    `void` | `unlock()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CombinerLock

          public CombinerLock(TransactionLock first,
                      TransactionLock second,
                      TimestampProvider times)

  - ### Method Detail

    - #### lock

          public void lock(Duration timeout)

      Specified by:
        `lock` in interface `TransactionLock`

    - #### unlock

          public void unlock()

      Specified by:
        `unlock` in interface `TransactionLock`

    - #### inUse

          public boolean inUse()

      Specified by:
        `inUse` in interface `TransactionLock`

Copyright © 2012–2014. All rights reserved.