org.apache.cassandra.client
Class RingCache

java.lang.Object
  extended by org.apache.cassandra.client.RingCache

public class RingCache
extends java.lang.Object

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

RingCache

public RingCache(java.lang.String keyspace)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

refreshEndpointMap

public void refreshEndpointMap()

getEndpoint

public java.util.List<java.net.InetAddress> getEndpoint(byte[] key)


Copyright © 2010 The Apache Software Foundation