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

Method clearSubspace

recipes/java-recipes/MicroPriority.java:107–114  ·  view source on GitHub ↗
(TransactionContext tcx, final Subspace s)

Source from the content-addressed store, hash-verified

105 }
106
107 public static void clearSubspace(TransactionContext tcx, final Subspace s){
108 tcx.run(new Function<Transaction,Void>() {
109 public Void apply(Transaction tr){
110 tr.clear(Range.startsWith(s.getKey()));
111 return null;
112 }
113 });
114 }
115
116 public static void smokeTest(){
117 System.out.print("Peek none: ");

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected