Searched defs:db (Results 1 - 25 of 74) sorted by relevance

123

/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/cdm/clientschema/
H A DAMClientDataListener.java37 * @param db
44 public void clientChanged(String clientType, int db, int type); argument
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/cdm/clientschema/
H A DAMClientDataListener.java37 * @param db
44 public void clientChanged(String clientType, int db, int type); argument
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/server/
H A DDraftCNDbIterator.java53 * @param db The db where the iterator must be created.
60 public DraftCNDbIterator(DraftCNDB db, int startDraftCN) argument
63 draftCNDbCursor = db.openReadCursor(startDraftCN);
H A DReplicationIterator.java45 private ReplicationDB db; field in class:ReplicationIterator
54 * @param db The db where the iterator must be created.
62 int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh)
65 this.db = db;
71 cursor = db.openReadCursor(changeNumber);
75 // we didn't find it in the db
81 // flush the queue into the db
84 // look again in the db
61 ReplicationIterator( int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh) argument
[all...]
H A DDbHandler.java74 // and write them to the db.
101 private ReplicationDB db; field in class:DbHandler
149 db = new ReplicationDB(id, baseDn, replicationServer, dbenv);
150 firstChange = db.readFirstChange();
151 lastChange = db.readLastChange();
163 * Add an update to the list of messages that must be saved to the db
164 * managed by this db handler.
168 * @param update The update that must be saved to the db managed by this db
262 * Generate a new ReplicationIterator that allows to browse the db
[all...]
H A DDraftCNDB.java52 private Database db = null; field in class:DraftCNDB
57 // close the db (shutdown or clear).
64 * @param dbenv The Db environment to use to create the db.
76 db = dbenv.getOrCreateDraftCNDb();
113 db.put(txn, key, data);
149 db.close();
150 db = null;
237 cursor = db.openCursor(null, null);
277 return db.count();
308 cursor = db
[all...]
H A DDraftCNDbHandler.java75 private DraftCNDB db; field in class:DraftCNDbHandler
112 db = new DraftCNDB(replicationServer, dbenv);
113 firstkey = db.readFirstDraftCN();
114 lastkey = db.readLastDraftCN();
117 thread = new DirectoryThread(this, "Replication DraftCN db ");
126 * Add an update to the list of messages that must be saved to the db
127 * managed by this db handler.
130 * @param key The key for this record in the db.
139 db.addEntry(key, value, serviceID, cn);
156 return db
[all...]
H A DReplicationDB.java55 private Database db = null; field in class:ReplicationDB
62 // close the db (shutdown or clear).
78 // A counter record has to follow the order of the db, so it needs to have
100 // The counter record will never be written to the db more often than each
109 * @param dbenv The Db environment to use to create the db.
123 db = dbenv.getOrAddDb(serverId, baseDn,
139 cursor = db.openCursor(txn, null);
170 * add a list of changes to the underlying db.
172 * @param changes The list of changes to add to the underlying db.
210 db
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/server/
H A DDraftCNDbIterator.java53 * @param db The db where the iterator must be created.
60 public DraftCNDbIterator(DraftCNDB db, int startDraftCN) argument
63 draftCNDbCursor = db.openReadCursor(startDraftCN);
H A DReplicationIterator.java45 private ReplicationDB db; field in class:ReplicationIterator
54 * @param db The db where the iterator must be created.
62 int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh)
65 this.db = db;
71 cursor = db.openReadCursor(changeNumber);
75 // we didn't find it in the db
81 // flush the queue into the db
84 // look again in the db
61 ReplicationIterator( int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh) argument
[all...]
H A DDbHandler.java74 // and write them to the db.
101 private ReplicationDB db; field in class:DbHandler
147 db = new ReplicationDB(id, baseDn, replicationServer, dbenv);
148 firstChange = db.readFirstChange();
149 lastChange = db.readLastChange();
161 * Add an update to the list of messages that must be saved to the db
162 * managed by this db handler.
166 * @param update The update that must be saved to the db managed by this db
260 * Generate a new ReplicationIterator that allows to browse the db
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/server/
H A DDraftCNDbIterator.java53 * @param db The db where the iterator must be created.
60 public DraftCNDbIterator(DraftCNDB db, int startDraftCN) argument
63 draftCNDbCursor = db.openReadCursor(startDraftCN);
H A DReplicationIterator.java45 private ReplicationDB db; field in class:ReplicationIterator
54 * @param db The db where the iterator must be created.
62 int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh)
65 this.db = db;
71 cursor = db.openReadCursor(changeNumber);
75 // we didn't find it in the db
81 // flush the queue into the db
84 // look again in the db
61 ReplicationIterator( int id, ReplicationDB db, ChangeNumber changeNumber, DbHandler dbh) argument
[all...]
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/storage/
H A DDatabaseOpenHelper.java42 public void onCreate(SQLiteDatabase db) { argument
43 db.execSQL("CREATE TABLE " + IdentityDatabase.IDENTITY_TABLE_NAME + " (" +
50 db.execSQL("CREATE TABLE " + IdentityDatabase.MECHANISM_TABLE_NAME + " (" +
62 db.execSQL("CREATE TABLE " + IdentityDatabase.NOTIFICATION_TABLE_NAME + " (" +
76 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { argument
81 public void onOpen(SQLiteDatabase db) { argument
82 super.onOpen(db);
83 if (!db.isReadOnly()) {
85 db.execSQL("PRAGMA foreign_keys=ON;");
/forgerock/opendj2/src/server/org/opends/server/replication/server/changelog/je/
H A DJEChangeNumberIndexDBCursor.java57 * @param db
58 * The db where the iterator must be created.
64 public JEChangeNumberIndexDBCursor(DraftCNDB db, long startChangeNumber) argument
67 draftCNDbCursor = db.openReadCursor(startChangeNumber);
H A DJEReplicaDBCursor.java45 private final ReplicationDB db; field in class:JEReplicaDBCursor
63 * @param db
64 * The db where the cursor must be created.
77 public JEReplicaDBCursor(ReplicationDB db, CSN startCSN, KeyMatchingStrategy matchingStrategy, argument
80 this.db = db;
125 cursor = db.openReadCursor(lastNonNullCurrentCSN, matchingStrategy, positionStrategy);
H A DDraftCNDB.java57 private Database db; field in class:DraftCNDB
61 * The lock used to provide exclusive access to the thread that close the db
69 * @param dbenv The Db environment to use to create the db.
77 db = dbenv.getOrCreateCNIndexDB();
109 db.put(txn, key, data);
132 db.close();
133 db = null;
206 cursor = db.openCursor(null, null);
248 return db.count();
282 cursor = db
[all...]
H A DJEChangeNumberIndexDB.java64 private DraftCNDB db; field in class:JEChangeNumberIndexDB
96 db = new DraftCNDB(dbEnv);
97 final ChangeNumberIndexRecord newestRecord = db.readLastRecord();
126 db.addRecord(newRecord);
140 return db.readFirstRecord();
147 return db.readLastRecord();
168 return db.count();
189 return new JEChangeNumberIndexDBCursor(db, startChangeNumber);
199 db.shutdown();
221 final DraftCNDBCursor cursor = db
[all...]
H A DJEReplicaDB.java97 private final ReplicationDB db; field in class:JEReplicaDB
120 this.db = new ReplicationDB(serverId, baseDN, replicationServer, replicationEnv);
121 this.csnLimits = new CSNLimits(db.readOldestCSN(), db.readNewestCSN());
128 * Add an update to the list of messages that must be saved to the db managed
129 * by this db handler. This method is blocking if the size of the list of
133 * The update message that must be saved to the db managed by this db
147 db.addEntry(updateMsg);
181 * Generate a new {@link DBCursor} that allows to browse the db manage
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/server/changelog/je/
H A DJEChangeNumberIndexDBCursor.java57 * @param db
58 * The db where the iterator must be created.
64 public JEChangeNumberIndexDBCursor(DraftCNDB db, long startChangeNumber) argument
67 draftCNDbCursor = db.openReadCursor(startChangeNumber);
H A DJEReplicaDBCursor.java45 private final ReplicationDB db; field in class:JEReplicaDBCursor
63 * @param db
64 * The db where the cursor must be created.
77 public JEReplicaDBCursor(ReplicationDB db, CSN startCSN, KeyMatchingStrategy matchingStrategy, argument
80 this.db = db;
125 cursor = db.openReadCursor(lastNonNullCurrentCSN, matchingStrategy, positionStrategy);
H A DDraftCNDB.java57 private Database db; field in class:DraftCNDB
61 * The lock used to provide exclusive access to the thread that close the db
69 * @param dbenv The Db environment to use to create the db.
77 db = dbenv.getOrCreateCNIndexDB();
109 db.put(txn, key, data);
132 db.close();
133 db = null;
206 cursor = db.openCursor(null, null);
248 return db.count();
282 cursor = db
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/backends/pdb/
H A DPDBMonitor.java51 private final Persistit db; field in class:PDBMonitor
53 PDBMonitor(String name, Persistit db) argument
56 this.db = db;
71 monitorAttrs.add(Attributes.create("PDBVersion", db.getManagement().getVersion()));
73 for(BufferPoolInfo bufferInfo : db.getManagement().getBufferPoolInfoArray())
77 addAttributesForStatsObject(monitorAttrs, "PDBJournal", db.getManagement().getJournalInfo());
78 addAttributesForStatsObject(monitorAttrs, "PDBTransaction", db.getManagement().getTransactionInfo());
79 for (VolumeInfo vol : db.getManagement().getVolumeInfoArray())
82 for (TreeInfo tree : db
[all...]
/forgerock/openidm-v4/openidm-repo-orientdb/src/main/java/org/forgerock/openidm/repo/orientdb/impl/
H A DDocumentUtil.java26 import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;
225 * @param db the database to associate with the ODocument
230 public static ODocument toDocument(JsonValue objModel, ODocument docToPopulate, ODatabaseDocumentTx db, String orientDocClass) argument
232 return toDocument(objModel.asMap(), docToPopulate, db, orientDocClass, false, true);
241 * @param db the database to associate with the ODocument
246 public static ODocument toDocument(Map<String, Object> objModel, ODocument docToPopulate, ODatabaseDocumentTx db, String orientDocClass) argument
248 return toDocument(objModel, docToPopulate, db, orientDocClass, false, true);
257 * @param db the database to associate with the ODocument
265 protected static ODocument toDocument(Map<String, Object> objModel, ODocument docToPopulate, ODatabaseDocumentTx db, String orientDocClass, boolean patch, argument
271 result = db
[all...]
/forgerock/openidm-v4/openidm-repo-orientdb/src/test/java/org/forgerock/openidm/repo/orientdb/impl/
H A DDocumentUtilTest.java26 import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;
49 ODatabaseDocumentTx db = null; field in class:DocumentUtilTest
55 db = new ODatabaseDocumentTx(dbURL);
56 if (!db.exists()) {
57 db.create();
59 db.open("admin", "admin");
65 if (db != null) {
66 db.close();
291 assertNull(DocumentUtil.toDocument(null, null, db, orientDocClass, false, true));
309 ODocument result = DocumentUtil.toDocument(map, null, db, orientDocClas
[all...]

Completed in 319 milliseconds

123