MCPcopy Create free account
hub / github.com/apple/foundationdb / clearSubspace

Method clearSubspace

recipes/java-recipes/MicroDoc.java:245–252  ·  view source on GitHub ↗
(TransactionContext tcx, final Subspace s)

Source from the content-addressed store, hash-verified

243 }
244
245 public static void clearSubspace(TransactionContext tcx, final Subspace s){
246 tcx.run(new Function<Transaction,Void>() {
247 public Void apply(Transaction tr){
248 tr.clear(s.range());
249 return null;
250 }
251 });
252 }
253
254 public static void smokeTest(){
255 // Construct a hash map suitable for a doc.

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected