org.apache.blur.store.blockcache_v2
Class CacheKey

java.lang.Object
  extended by org.apache.blur.store.blockcache_v2.CacheKey
All Implemented Interfaces:
Cloneable

public class CacheKey
extends Object
implements Cloneable


Constructor Summary
CacheKey()
           
CacheKey(long fileId, long blockId)
           
 
Method Summary
 CacheKey clone()
           
 boolean equals(Object obj)
           
 long getBlockId()
           
 long getFileId()
           
 int hashCode()
           
 void setBlockId(long blockId)
           
 void setFileId(long fileId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheKey

public CacheKey()

CacheKey

public CacheKey(long fileId,
                long blockId)
Method Detail

getFileId

public long getFileId()

setFileId

public void setFileId(long fileId)

getBlockId

public long getBlockId()

setBlockId

public void setBlockId(long blockId)

clone

public CacheKey clone()
Overrides:
clone in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.