com.thinkaurelius.titan.diskstorage.locking.consistentkey

## Class ConsistentKeyLockerSerializer

- java.lang.Object
- - com.thinkaurelius.titan.diskstorage.locking.consistentkey.ConsistentKeyLockerSerializer

-     public class ConsistentKeyLockerSerializer
      extends Object

  Translate locking coordinates and metadata (data keys, data columns, data values, timestamps, and rids) into keys, columns, and values compatible with `ConsistentKeyLocker` and vice-versa.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ConsistentKeyLockerSerializer()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `TimestampRid` | `fromLockColumn(StaticBuffer lockKey)`
    `StaticBuffer` | `toLockCol(long ts, StaticBuffer rid)`
    `StaticBuffer` | `toLockKey(StaticBuffer key, StaticBuffer column)`

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

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

- - ### Constructor Detail

    - #### ConsistentKeyLockerSerializer

          public ConsistentKeyLockerSerializer()

  - ### Method Detail

    - #### toLockKey

          public StaticBuffer toLockKey(StaticBuffer key,
                               StaticBuffer column)

    - #### toLockCol

          public StaticBuffer toLockCol(long ts,
                               StaticBuffer rid)

    - #### fromLockColumn

          public TimestampRid fromLockColumn(StaticBuffer lockKey)

Copyright © 2012–2014. All rights reserved.