org.shoal.ha.cache.impl.store
Class ReplicaStore<K,V>

java.lang.Object
  extended by org.shoal.ha.cache.impl.store.ReplicaStore<K,V>

public class ReplicaStore<K,V>
extends java.lang.Object

Author:
Mahesh Kannan

Constructor Summary
ReplicaStore(DataStoreContext<K,V> ctx)
           
 
Method Summary
 DataStoreEntry<K,V> getEntry(K k)
           
 V getV(K k)
           
 void put(K k, java.lang.Object obj)
           
 void remove(K k)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicaStore

public ReplicaStore(DataStoreContext<K,V> ctx)
Method Detail

put

public void put(K k,
                java.lang.Object obj)
         throws DataStoreException
Throws:
DataStoreException

getEntry

public DataStoreEntry<K,V> getEntry(K k)
                             throws DataStoreException
Throws:
DataStoreException

getV

public V getV(K k)
       throws DataStoreException
Throws:
DataStoreException

remove

public void remove(K k)

size

public int size()


Copyright © 2010. All Rights Reserved.