Index

A C D M N O R S T U W 
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.database is not set.

M

me.ahoo.cosid.store.mongo - package me.ahoo.cosid.store.mongo
 
MongoRangeStore - Class in me.ahoo.cosid.store.mongo
RangeStore on the cosid_range collection, {_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
SlotLeaseStore on the cosid_slot collection (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 in cosid_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): MongoRangeStore and MongoSlotLeaseStore on 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
Opens MongoStores, type mongo (06-stores.md §1); registered for ServiceLoader.
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.
A C D M N O R S T U W 
All Classes and Interfaces|All Packages|Constant Field Values