(TransactionContext tcx, final Subspace s)
| 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: "); |