|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- R
- public interface Operation<CL,R>
Callback interface to perform an operation on a client associated with a connection pool's connection resource
Method Summary | |
---|---|
R |
execute(CL client)
Execute the operation on the client object and return the results |
String |
getKeyspace()
Return keyspace for this operation. |
Host |
getPinnedHost()
Return the host to run on or null to select a host using the load blancer. |
BigInteger |
getToken()
Return the unique key on which the operation is performed or null if the operation is performed on multiple keys. |
Method Detail |
---|
R execute(CL client) throws ConnectionException
client
-
OperationException
NetflixCassandraException
ConnectionException
BigInteger getToken()
String getKeyspace()
Host getPinnedHost()
host
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |