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

Method clearSubspace

recipes/java-recipes/MicroMulti.java:136–143  ·  view source on GitHub ↗
(TransactionContext tcx, final Subspace s)

Source from the content-addressed store, hash-verified

134 }
135
136 public static void clearSubspace(TransactionContext tcx, final Subspace s){
137 tcx.run(new Function<Transaction,Void>() {
138 public Void apply(Transaction tr){
139 tr.clear(s.range());
140 return null;
141 }
142 });
143 }
144
145 public static void main(String[] args) {
146 clearSubspace(db, multi);

Callers 1

mainMethod · 0.95

Calls 1

runMethod · 0.65

Tested by

no test coverage detected