Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- acquire(String, Owner, int, Duration, Duration, int, OptionalInt) - Method in class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
C
- close() - Method in class me.ahoo.cosid.store.mongo.MongoStore
-
Closes the client the store created itself; an injected one stays open.
- COLLECTION - Static variable in class me.ahoo.cosid.store.mongo.MongoRangeStore
-
The collection.
- COLLECTION - Static variable in class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
-
The slot collection.
D
- DATABASE - Static variable in class me.ahoo.cosid.store.mongo.MongoStoreProvider
-
The option naming the database.
- DEFAULT_DATABASE - Static variable in class me.ahoo.cosid.store.mongo.MongoStore
-
The database when
options.databaseis not set.
M
- me.ahoo.cosid.store.mongo - package me.ahoo.cosid.store.mongo
- MongoRangeStore - Class in me.ahoo.cosid.store.mongo
-
RangeStoreon thecosid_rangecollection,{_id: key, next, sealed}(06-stores.md §2.3). - MongoRangeStore(MongoDatabase, Duration) - Constructor for class me.ahoo.cosid.store.mongo.MongoRangeStore
-
A range store on a database whose client the caller owns.
- MongoRangeStore(MongoDatabase, Duration, WriteConcern) - Constructor for class me.ahoo.cosid.store.mongo.MongoRangeStore
-
A range store on a database whose client the caller owns, writing with the given concern.
- MongoSlotLeaseStore - Class in me.ahoo.cosid.store.mongo
-
SlotLeaseStoreon thecosid_slotcollection (06-stores.md §2.3): one document per slot,{ns, slot, ownerKey, incarnation, lastOwnerKey, fence, expiresAt, floor, ceiling, nextFloor, writtenAt}, unique on(ns, slot), with every slot of a namespace created on its first use; the namespace parameters live incosid_namespace,{_id: ns, limit, toleranceMs, slotOffset}. - MongoSlotLeaseStore(MongoDatabase, Duration) - Constructor for class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
-
A slot lease store on a database whose client the caller owns.
- MongoSlotLeaseStore(MongoDatabase, Duration, WriteConcern) - Constructor for class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
-
A slot lease store on a database whose client the caller owns, writing with the given concern.
- MongoStore - Class in me.ahoo.cosid.store.mongo
-
The MongoDB store (06-stores.md §2.3):
MongoRangeStoreandMongoSlotLeaseStoreon one database, MongoDB 6.0 or later. - MongoStore(MongoDatabase, Duration) - Constructor for class me.ahoo.cosid.store.mongo.MongoStore
-
A store on a database whose client the caller owns and closes.
- MongoStore(MongoDatabase, Duration, WriteConcern) - Constructor for class me.ahoo.cosid.store.mongo.MongoStore
-
A store on a database whose client the caller owns and closes, writing with the given concern.
- MongoStoreProvider - Class in me.ahoo.cosid.store.mongo
- MongoStoreProvider() - Constructor for class me.ahoo.cosid.store.mongo.MongoStoreProvider
N
- NAMESPACE_COLLECTION - Static variable in class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
-
The namespace collection.
O
- open(StoreConfig) - Method in class me.ahoo.cosid.store.mongo.MongoStoreProvider
- options() - Method in class me.ahoo.cosid.store.mongo.MongoStoreProvider
R
- ranges() - Method in class me.ahoo.cosid.store.mongo.MongoStore
- release(SlotLease, long) - Method in class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
- renew(SlotLease, Duration, Duration) - Method in class me.ahoo.cosid.store.mongo.MongoSlotLeaseStore
- reserve(String, long, long) - Method in class me.ahoo.cosid.store.mongo.MongoRangeStore
S
- seal(String) - Method in class me.ahoo.cosid.store.mongo.MongoRangeStore
-
Seals the key with an upsert, so a key that does not exist yet is sealed too and never created (S6).
- slots() - Method in class me.ahoo.cosid.store.mongo.MongoStore
T
- type() - Method in class me.ahoo.cosid.store.mongo.MongoStoreProvider
- TYPE - Static variable in class me.ahoo.cosid.store.mongo.MongoStoreProvider
-
The store type.
U
- URI - Static variable in class me.ahoo.cosid.store.mongo.MongoStoreProvider
-
The option holding the connection string.
W
- WRITE_CONCERN - Static variable in class me.ahoo.cosid.store.mongo.MongoStoreProvider
-
The option holding the write concern.
All Classes and Interfaces|All Packages|Constant Field Values