MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / putWithColumnAndLock

Method putWithColumnAndLock

test/TestPutRequest.java:150–160  ·  view source on GitHub ↗

Test put with multiple column qualifier, values and row lock @throws Exception

()

Source from the content-addressed store, hash-verified

148 * @throws Exception
149 */
150 @Test
151 public void putWithColumnAndLock() throws Exception {
152 final PutRequest put = new PutRequest(TABLE, KEY, FAMILY, QUALIFIERS, VALUES,
153 TIMESTAMP_LONG, LOCK);
154 stubbing(put);
155 client.put(put);
156 Mockito.verify(client).sendRpcToRegion(put);
157 Mockito.verify(regionclient).sendRpc(put);
158 assertTrue(sendPut);
159 assertEquals(1, num_puts.get());
160 }
161
162 /**
163 * Test put with strings instead of bytes.

Callers

nothing calls this directly

Calls 5

stubbingMethod · 0.95
putMethod · 0.80
sendRpcToRegionMethod · 0.80
sendRpcMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected