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

Method method

src/MultiAction.java:99–105  ·  view source on GitHub ↗
(final byte server_version)

Source from the content-addressed store, hash-verified

97 private final ArrayList<BatchableRpc> batch = new ArrayList<BatchableRpc>();
98
99 @Override
100 byte[] method(final byte server_version) {
101 if (server_version >= RegionClient.SERVER_VERSION_095_OR_ABOVE) {
102 return MMULTI;
103 }
104 return server_version >= USE_MULTI ? MULTI : MULTI_PUT;
105 }
106
107 /** Returns the number of RPCs in this batch. */
108 public int size() {

Callers 2

predictSerializedSizeMethod · 0.95
serializeOldMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected