|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.client.RingCache
public class RingCache
A class for caching the ring map at the client. For usage example, see test/unit/org.apache.cassandra.client.TestRingCache.java.
Constructor Summary | |
---|---|
RingCache(java.lang.String keyspace)
|
Method Summary | |
---|---|
java.util.List<java.net.InetAddress> |
getEndpoint(byte[] key)
|
void |
refreshEndpointMap()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RingCache(java.lang.String keyspace) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void refreshEndpointMap()
public java.util.List<java.net.InetAddress> getEndpoint(byte[] key)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |