Searched refs:cursor (Results 26 - 50 of 371) sorted by relevance

1234567891011>>

/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/je/
H A DReplicationDB.java149 Cursor cursor = null;
152 cursor = db.openCursor(null, null);
157 OperationStatus status = cursor.getLast(key, data, LockMode.DEFAULT);
168 status = cursor.getPrev(key, data, LockMode.DEFAULT);
179 close(cursor);
289 * Create a cursor that can be used to search or iterate on this
293 * The CSN from which the cursor must start.If null, start from the
310 * Create a cursor that can be used to delete some record from this
313 * @throws ChangelogException If a database error prevented the cursor
323 private void closeAndReleaseReadLock(Cursor cursor) argument
459 private Cursor cursor; field in class:ReplicationDB.CursorWithEmptyIndicator
469 createEmpty(Cursor cursor) argument
475 createNonEmpty(Cursor cursor) argument
494 private Cursor cursor; field in class:ReplicationDB.ReplServerDBCursor
[all...]
H A DDraftCNDB.java147 * Create a cursor that can be used to search or iterate on this DB.
149 * @param changeNumber The change number from which the cursor must start.
151 * @throws ChangelogException If a database error prevented the cursor
161 * Create a cursor that can be used to delete some record from this
165 * @throws ChangelogException If a database error prevented the cursor
173 private void closeLockedCursor(Cursor cursor) argument
177 close(cursor);
197 Cursor cursor = null;
206 cursor = db.openCursor(null, null);
209 if (cursor
315 private final Cursor cursor; field in class:DraftCNDB.DraftCNDBCursor
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/je/
H A DReplicationDB.java149 Cursor cursor = null;
152 cursor = db.openCursor(null, null);
157 OperationStatus status = cursor.getLast(key, data, LockMode.DEFAULT);
168 status = cursor.getPrev(key, data, LockMode.DEFAULT);
179 close(cursor);
289 * Create a cursor that can be used to search or iterate on this
293 * The CSN from which the cursor must start.If null, start from the
310 * Create a cursor that can be used to delete some record from this
313 * @throws ChangelogException If a database error prevented the cursor
323 private void closeAndReleaseReadLock(Cursor cursor) argument
459 private Cursor cursor; field in class:ReplicationDB.CursorWithEmptyIndicator
469 createEmpty(Cursor cursor) argument
475 createNonEmpty(Cursor cursor) argument
494 private Cursor cursor; field in class:ReplicationDB.ReplServerDBCursor
[all...]
H A DDraftCNDB.java147 * Create a cursor that can be used to search or iterate on this DB.
149 * @param changeNumber The change number from which the cursor must start.
151 * @throws ChangelogException If a database error prevented the cursor
161 * Create a cursor that can be used to delete some record from this
165 * @throws ChangelogException If a database error prevented the cursor
173 private void closeLockedCursor(Cursor cursor) argument
177 close(cursor);
197 Cursor cursor = null;
206 cursor = db.openCursor(null, null);
209 if (cursor
315 private final Cursor cursor; field in class:DraftCNDB.DraftCNDBCursor
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/
H A DReplicationDB.java130 Cursor cursor;
139 cursor = db.openCursor(txn, null);
142 status = cursor.getLast(key, data, LockMode.DEFAULT);
148 status = cursor.getPrev(key, data, LockMode.DEFAULT);
163 cursor.close();
257 * Create a cursor that can be used to search or iterate on this
260 * @param changeNumber The ChangeNumber from which the cursor must start.
261 * @throws DatabaseException If a database error prevented the cursor
273 * Create a cursor that can be used to delete some record from this
276 * @throws DatabaseException If a database error prevented the cursor
290 closeLockedCursor(Cursor cursor) argument
574 private final Cursor cursor; field in class:ReplicationDB.ReplServerDBCursor
[all...]
H A DDraftCNDB.java167 * Create a cursor that can be used to search or iterate on this DB.
169 * @param draftCN The draftCN from which the cursor must start.
170 * @throws DatabaseException If a database error prevented the cursor
182 * Create a cursor that can be used to delete some record from this
185 * @throws DatabaseException If a database error prevented the cursor
197 private void closeLockedCursor(Cursor cursor) argument
201 if (cursor != null)
205 cursor.close();
228 Cursor cursor = null;
237 cursor
346 private final Cursor cursor; field in class:DraftCNDB.DraftCNDBCursor
[all...]
H A DDraftCNDbHandler.java178 * Get a read cursor on the database from a provided key.
179 * The cursor MUST be released after use.
181 * @return the new cursor.
196 * Release a provided read cursor.
197 * @param cursor The provided read cursor.
199 public void releaseReadCursor(DraftCNDBCursor cursor) argument
203 cursor.close();
341 DraftCNDBCursor cursor = db.openDeleteCursor();
347 if (!cursor
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/
H A DReplicationDB.java130 Cursor cursor;
139 cursor = db.openCursor(txn, null);
142 status = cursor.getLast(key, data, LockMode.DEFAULT);
148 status = cursor.getPrev(key, data, LockMode.DEFAULT);
163 cursor.close();
257 * Create a cursor that can be used to search or iterate on this
260 * @param changeNumber The ChangeNumber from which the cursor must start.
261 * @throws DatabaseException If a database error prevented the cursor
273 * Create a cursor that can be used to delete some record from this
276 * @throws DatabaseException If a database error prevented the cursor
290 closeLockedCursor(Cursor cursor) argument
574 private final Cursor cursor; field in class:ReplicationDB.ReplServerDBCursor
[all...]
H A DDraftCNDB.java167 * Create a cursor that can be used to search or iterate on this DB.
169 * @param draftCN The draftCN from which the cursor must start.
170 * @throws DatabaseException If a database error prevented the cursor
182 * Create a cursor that can be used to delete some record from this
185 * @throws DatabaseException If a database error prevented the cursor
197 private void closeLockedCursor(Cursor cursor) argument
201 if (cursor != null)
205 cursor.close();
228 Cursor cursor = null;
237 cursor
346 private final Cursor cursor; field in class:DraftCNDB.DraftCNDBCursor
[all...]
H A DDraftCNDbHandler.java187 * Get a read cursor on the database from a provided key.
188 * The cursor MUST be released after use.
190 * @return the new cursor.
205 * Release a provided read cursor.
206 * @param cursor The provided read cursor.
208 public void releaseReadCursor(DraftCNDBCursor cursor) argument
212 cursor.close();
350 DraftCNDBCursor cursor = db.openDeleteCursor();
356 if (!cursor
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/
H A DReplicationDB.java130 Cursor cursor;
139 cursor = db.openCursor(txn, null);
142 status = cursor.getLast(key, data, LockMode.DEFAULT);
148 status = cursor.getPrev(key, data, LockMode.DEFAULT);
163 cursor.close();
257 * Create a cursor that can be used to search or iterate on this
260 * @param changeNumber The ChangeNumber from which the cursor must start.
261 * @throws DatabaseException If a database error prevented the cursor
273 * Create a cursor that can be used to delete some record from this
276 * @throws DatabaseException If a database error prevented the cursor
290 closeLockedCursor(Cursor cursor) argument
574 private final Cursor cursor; field in class:ReplicationDB.ReplServerDBCursor
[all...]
H A DDraftCNDB.java167 * Create a cursor that can be used to search or iterate on this DB.
169 * @param draftCN The draftCN from which the cursor must start.
170 * @throws DatabaseException If a database error prevented the cursor
182 * Create a cursor that can be used to delete some record from this
185 * @throws DatabaseException If a database error prevented the cursor
197 private void closeLockedCursor(Cursor cursor) argument
201 if (cursor != null)
205 cursor.close();
228 Cursor cursor = null;
237 cursor
346 private final Cursor cursor; field in class:DraftCNDB.DraftCNDBCursor
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/replication/server/changelog/file/
H A DLogTest.java100 DBCursor<Record<String, String>> cursor = log.getCursor())
102 assertThatCursorCanBeFullyReadFromStart(cursor, 1, 10);
110 DBCursor<Record<String, String>> cursor = log.getCursor("key005"))
112 assertThatCursorCanBeFullyReadFromStart(cursor, 5, 10);
121 DBCursor<Record<String, String>> cursor = log.getCursor("key005000"))
123 assertThat(cursor).isNotNull();
124 assertThat(cursor.getRecord()).isNull();
125 assertThat(cursor.next()).isFalse();
133 DBCursor<Record<String, String>> cursor = log.getCursor(null))
135 assertThatCursorCanBeFullyReadFromStart(cursor,
513 advanceCursorUpTo(DBCursor<Record<String, String>> cursor, int fromIndex, int endIndex) argument
527 assertThatCursorCanBeFullyRead(DBCursor<Record<String, String>> cursor, int fromIndex, int endIndex) argument
535 assertThatCursorCanBeFullyReadFromStart(DBCursor<Record<String, String>> cursor, int fromIndex, int endIndex) argument
542 assertThatCursorIsExhausted(DBCursor<Record<String, String>> cursor) argument
[all...]
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/assets/skins/sam/
H A Dtreeview.css7 .ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvitem{}.ygtvchildren{*zoom:1;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;}.ygtvspacer{height:22px;width:18px;}
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/treeview/assets/skins/sam/
H A Dtreeview-skin.css16 cursor:pointer ;
23 cursor:pointer ;
30 cursor:pointer ;
37 cursor:pointer ;
50 cursor:pointer ;
57 cursor:pointer ;
64 cursor:pointer ;
70 width:18px; height:22px; cursor:pointer ;
H A Dtreeview.css7 .ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvitem{}.ygtvchildren{*zoom:1;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;}.ygtvspacer{height:22px;width:18px;}
/forgerock/openam-v13/openam-server-only/src/main/webapp/assets/lib/yui/treeview/assets/
H A Dtreeview.css16 cursor:pointer ;
23 cursor:pointer ;
30 cursor:pointer ;
37 cursor:pointer ;
50 cursor:pointer ;
57 cursor:pointer ;
64 cursor:pointer ;
70 width:18px; height:22px; cursor:pointer ;
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/assets/skins/sam/
H A Dtreeview.css7 .ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvitem{}.ygtvchildren{*zoom:1;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;}.ygtvspacer{height:22px;width:18px;}
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/treeview/assets/skins/sam/
H A Dtreeview-skin.css16 cursor:pointer ;
23 cursor:pointer ;
30 cursor:pointer ;
37 cursor:pointer ;
50 cursor:pointer ;
57 cursor:pointer ;
64 cursor:pointer ;
70 width:18px; height:22px; cursor:pointer ;
H A Dtreeview.css7 .ygtvtn{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -5600px no-repeat;}.ygtvtm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4000px no-repeat;}.ygtvtmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -4800px no-repeat;}.ygtvtp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -6400px no-repeat;}.ygtvtph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -7200px no-repeat;}.ygtvln{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -1600px no-repeat;}.ygtvlm{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 0px no-repeat;}.ygtvlmh{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -800px no-repeat;}.ygtvlp{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -2400px no-repeat;}.ygtvlph{width:18px;height:22px;cursor:pointer;background:url(treeview-sprite.gif) 0 -3200px no-repeat;}.ygtvloading{width:18px;height:22px;background:url(treeview-loading.gif) 0 0 no-repeat;}.ygtvdepthcell{width:18px;height:22px;background:url(treeview-sprite.gif) 0 -8000px no-repeat;}.ygtvblankdepthcell{width:18px;height:22px;}.ygtvitem{}.ygtvchildren{*zoom:1;}.ygtvlabel,.ygtvlabel:link,.ygtvlabel:visited,.ygtvlabel:hover{margin-left:2px;text-decoration:none;background-color:white;}.ygtvspacer{height:22px;width:18px;}
/forgerock/openam/openam-server-only/src/main/webapp/assets/lib/yui/treeview/assets/
H A Dtreeview.css16 cursor:pointer ;
23 cursor:pointer ;
30 cursor:pointer ;
37 cursor:pointer ;
50 cursor:pointer ;
57 cursor:pointer ;
64 cursor:pointer ;
70 width:18px; height:22px; cursor:pointer ;
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/file/
H A DFileChangeNumberIndexDBTest.java100 DBCursor<ChangeNumberIndexRecord> cursor = cnIndexDB.getCursorFrom(cn1);
101 assertCursorReadsInOrder(cursor, cn1, cn2, cn3);
103 cursor = cnIndexDB.getCursorFrom(cn2);
104 assertCursorReadsInOrder(cursor, cn2, cn3);
106 cursor = cnIndexDB.getCursorFrom(cn3);
107 assertCursorReadsInOrder(cursor, cn3);
146 * <li>read them with a cursor</li>
184 DBCursor<ChangeNumberIndexRecord> cursor = cnIndexDB.getCursorFrom(oldestCN);
187 assertTrue(cursor.next());
188 assertEqualTo(cursor
279 assertCursorReadsInOrder(DBCursor<ChangeNumberIndexRecord> cursor, long... cns) argument
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/replication/server/changelog/file/
H A DFileChangeNumberIndexDBTest.java100 DBCursor<ChangeNumberIndexRecord> cursor = cnIndexDB.getCursorFrom(cn1);
101 assertCursorReadsInOrder(cursor, cn1, cn2, cn3);
103 cursor = cnIndexDB.getCursorFrom(cn2);
104 assertCursorReadsInOrder(cursor, cn2, cn3);
106 cursor = cnIndexDB.getCursorFrom(cn3);
107 assertCursorReadsInOrder(cursor, cn3);
146 * <li>read them with a cursor</li>
184 DBCursor<ChangeNumberIndexRecord> cursor = cnIndexDB.getCursorFrom(oldestCN);
187 assertTrue(cursor.next());
188 assertEqualTo(cursor
279 assertCursorReadsInOrder(DBCursor<ChangeNumberIndexRecord> cursor, long... cns) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/file/
H A DLogFile.java263 DBCursor<Record<K, V>> cursor = getCursor();
268 while (cursor.getRecord() != null)
270 Record<K, V> record = cursor.getRecord();
275 cursor.next();
314 * Returns a cursor that allows to retrieve the records from this log,
317 * @return a cursor on the log records, which is never {@code null}
319 * If the cursor can't be created.
327 * Returns a cursor initialised to the provided record and position in file.
330 * The initial record this cursor points on
332 * The file position this cursor point
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/file/
H A DLogFile.java263 DBCursor<Record<K, V>> cursor = getCursor();
268 while (cursor.getRecord() != null)
270 Record<K, V> record = cursor.getRecord();
275 cursor.next();
314 * Returns a cursor that allows to retrieve the records from this log,
317 * @return a cursor on the log records, which is never {@code null}
319 * If the cursor can't be created.
327 * Returns a cursor initialised to the provided record and position in file.
330 * The initial record this cursor points on
332 * The file position this cursor point
[all...]

Completed in 55 milliseconds

1234567891011>>