public class

TestOperation

extends Object
implements Operation<CL, R>
java.lang.Object
   ↳ com.netflix.astyanax.test.TestOperation
Known Direct Subclasses

Summary

Public Constructors
TestOperation()
Public Methods
String execute(TestClient client)
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.netflix.astyanax.connectionpool.Operation

Public Constructors

public TestOperation ()

Public Methods

public String execute (TestClient client)

public String getKeyspace ()

Return keyspace for this operation. Return null if using the current keyspace, or a keyspace is not needed for the operation.

public Host getPinnedHost ()

Return the host to run on or null to select a host using the load blancer. Failover is disabled for this scenario.

public BigInteger getToken ()

Return the unique key on which the operation is performed or null if the operation is performed on multiple keys.