Ejemplo n.º 1
0
 public void deleteLongMetric(Transaction tr, String name) {
   tr.clear(Range.startsWith(dataSubspace.pack(tupleFrom(LONG_TYPE, name))));
   tr.clear(Range.startsWith(confSubspace.pack(tupleFrom(LONG_TYPE, name))));
 }
Ejemplo n.º 2
0
 public void deleteBooleanMetric(Transaction tr, String name) {
   tr.clear(Range.startsWith(dataSubspace.pack(tupleFrom(BOOLEAN_TYPE, name))));
   tr.clear(Range.startsWith(confSubspace.pack(tupleFrom(BOOLEAN_TYPE, name))));
 }