org.apache.hadoop.hbase.client
Class RowLock

java.lang.Object
  extended by org.apache.hadoop.hbase.client.RowLock

Deprecated. RowLock and associated operations are deprecated.

public class RowLock
extends Object

Holds row name and lock id.


Constructor Summary
RowLock(byte[] row, long lockId)
          Deprecated. Creates a RowLock from a row and lock id
RowLock(long lockId)
          Deprecated. Creates a RowLock with only a lock id
 
Method Summary
 long getLockId()
          Deprecated. Get the lock id from this RowLock
 byte[] getRow()
          Deprecated. Get the row for this RowLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowLock

public RowLock(byte[] row,
               long lockId)
Deprecated. 
Creates a RowLock from a row and lock id

Parameters:
row - row to lock on
lockId - the lock id

RowLock

public RowLock(long lockId)
Deprecated. 
Creates a RowLock with only a lock id

Parameters:
lockId - lock id
Method Detail

getRow

public byte[] getRow()
Deprecated. 
Get the row for this RowLock

Returns:
the row

getLockId

public long getLockId()
Deprecated. 
Get the lock id from this RowLock

Returns:
the lock id


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.