コード例 #1
0
ファイル: ID2Entry.java プロジェクト: jiaoyk/OpenDJ
 @Override
 void open0(WriteableTransaction txn) throws StorageRuntimeException {
   // Make sure the tree is there and readable, even if the storage is READ_ONLY.
   // Would be nice if there were a better way...
   try (final Cursor<ByteString, ByteString> cursor = txn.openCursor(getName())) {
     cursor.next();
   }
 }
コード例 #2
0
 @Override
 public boolean next() {
   clearCache();
   return input.next();
 }