Skip navigation links
C D E F G H I K L M N O P R S T V W 

C

compareTo(LongLongTuple2) - Method in class discord4j.store.api.util.LongLongTuple2
 
compareTo(LongObjTuple2<T>) - Method in class discord4j.store.api.util.LongObjTuple2
 
convert(LongLongTuple2) - Static method in class discord4j.store.api.util.LongLongTuple2
Converts a LongLongTuple2 to a Tuple2.
convert(LongObjTuple2<T>) - Static method in class discord4j.store.api.util.LongObjTuple2
Converts a LongObjTuple2 to a Tuple2.
count() - Method in class discord4j.store.api.noop.NoOpStore
 
count() - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
count() - Method in class discord4j.store.api.primitive.ForwardingStore
 
count() - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
count() - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
count() - Method in interface discord4j.store.api.Store
Retrieves the amount of stored values in the data source currently.
create() - Static method in class discord4j.store.api.mapping.MappingStoreService
Obtain a new MappingStoreService instance that can be further configured using MappingStoreService.setMapping(Class, StoreService) to set a new delegate StoreService and MappingStoreService.setFallback(StoreService) to provide a fallback if the value class is not defined elsewhere.

D

delete(K) - Method in class discord4j.store.api.noop.NoOpStore
 
delete(Publisher<K>) - Method in class discord4j.store.api.noop.NoOpStore
 
delete(long) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
delete(Publisher<Long>) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
delete(Long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
delete(long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
delete(Publisher<Long>) - Method in class discord4j.store.api.primitive.ForwardingStore
 
delete(Long) - Method in interface discord4j.store.api.primitive.LongObjStore
 
delete(long) - Method in interface discord4j.store.api.primitive.LongObjStore
Deletes a value associated with the provided id.
delete(Publisher<Long>) - Method in interface discord4j.store.api.primitive.LongObjStore
 
delete(long) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
delete(Publisher<Long>) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
delete(K) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
delete(Publisher<K>) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
delete(K) - Method in interface discord4j.store.api.Store
Deletes a value associated with the provided id.
delete(Publisher<K>) - Method in interface discord4j.store.api.Store
Deletes the values associated with the provided ids.
deleteAll() - Method in class discord4j.store.api.noop.NoOpStore
 
deleteAll() - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
deleteAll() - Method in class discord4j.store.api.primitive.ForwardingStore
 
deleteAll() - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
deleteAll() - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
deleteAll() - Method in interface discord4j.store.api.Store
Deletes all entries in the data source.
deleteInRange(K, K) - Method in class discord4j.store.api.noop.NoOpStore
 
deleteInRange(long, long) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
deleteInRange(Long, Long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
deleteInRange(long, long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
deleteInRange(Long, Long) - Method in interface discord4j.store.api.primitive.LongObjStore
 
deleteInRange(long, long) - Method in interface discord4j.store.api.primitive.LongObjStore
Deletes values within a range of ids.
deleteInRange(long, long) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
deleteInRange(K, K) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
deleteInRange(K, K) - Method in interface discord4j.store.api.Store
Deletes values within a range of ids.
discord4j.store.api - package discord4j.store.api
Contract for storing entities in Discord4J v3.
discord4j.store.api.mapping - package discord4j.store.api.mapping
Factory that allows routing entities across many Store implementations.
discord4j.store.api.noop - package discord4j.store.api.noop
NOP store implementation.
discord4j.store.api.noop.primitive - package discord4j.store.api.noop.primitive
 
discord4j.store.api.primitive - package discord4j.store.api.primitive
 
discord4j.store.api.readonly - package discord4j.store.api.readonly
Factory that provides Store instances that are read-only mode.
discord4j.store.api.readonly.primitive - package discord4j.store.api.readonly.primitive
Factory that provides primitive Store instances that are read-only mode.
discord4j.store.api.service - package discord4j.store.api.service
Store factory contract and resource loading.
discord4j.store.api.util - package discord4j.store.api.util
Support for Store related classes.
dispose() - Method in class discord4j.store.api.mapping.MappingStoreService
 
dispose() - Method in class discord4j.store.api.noop.NoOpStoreService
 
dispose() - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
dispose() - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
dispose() - Method in interface discord4j.store.api.service.StoreService
This is a lifecycle method called to signal that a store should dispose of any resources due to an abrupt close (hard reconnect or disconnect).

E

entries() - Method in class discord4j.store.api.primitive.ForwardingStore
 
entries() - Method in interface discord4j.store.api.primitive.LongObjStore
 
entries() - Method in interface discord4j.store.api.Store
Gets a stream of all entries in the data source.
equals(Object) - Method in class discord4j.store.api.util.LongLongTuple2
 
equals(Object) - Method in class discord4j.store.api.util.LongObjTuple2
 

F

find(K) - Method in class discord4j.store.api.noop.NoOpStore
 
find(long) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
find(Long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
find(long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
find(Long) - Method in interface discord4j.store.api.primitive.LongObjStore
 
find(long) - Method in interface discord4j.store.api.primitive.LongObjStore
Attempts to find the value associated with the provided id.
find(long) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
find(K) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
find(K) - Method in interface discord4j.store.api.Store
Attempts to find the value associated with the provided id.
findInRange(K, K) - Method in class discord4j.store.api.noop.NoOpStore
 
findInRange(long, long) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
findInRange(Long, Long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
findInRange(long, long) - Method in class discord4j.store.api.primitive.ForwardingStore
 
findInRange(Long, Long) - Method in interface discord4j.store.api.primitive.LongObjStore
 
findInRange(long, long) - Method in interface discord4j.store.api.primitive.LongObjStore
Retrieves all stored values with ids within a provided range.
findInRange(long, long) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
findInRange(K, K) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
findInRange(K, K) - Method in interface discord4j.store.api.Store
Retrieves all stored values with ids within a provided range.
forEach(Consumer<? super O>) - Method in class discord4j.store.api.util.MappingIterable
 
ForwardingStore<V extends Serializable> - Class in discord4j.store.api.primitive
An implementation of LongObjStore which is a data connection that delegates to another, generic one.
ForwardingStore(Store<Long, V>) - Constructor for class discord4j.store.api.primitive.ForwardingStore
Constructs the data connection.
ForwardingStoreService - Class in discord4j.store.api.primitive
An implementation of StoreService which creates primitive stores which delegate to another, generic store.
ForwardingStoreService(StoreService) - Constructor for class discord4j.store.api.primitive.ForwardingStoreService
Constructs the service.
from(Tuple2<Long, Long>) - Static method in class discord4j.store.api.util.LongLongTuple2
Converts a Tuple2 to a LongLongTuple2.
from(Tuple2<Long, T>) - Static method in class discord4j.store.api.util.LongObjTuple2
Converts a Tuple2 to a LongObjTuple2.

G

get() - Method in class discord4j.store.api.util.Lazy
Gets the inner object.
get(int) - Method in class discord4j.store.api.util.LongLongTuple2
Get the object at the given index.
get(int) - Method in class discord4j.store.api.util.LongObjTuple2
Get the object at the given index.
getMessageClass() - Method in class discord4j.store.api.util.StoreContext
This gets the message class used by the client.
getOriginal() - Method in class discord4j.store.api.primitive.ForwardingStore
Gets the original, generic data connection.
getOriginal() - Method in class discord4j.store.api.primitive.ForwardingStoreService
Gets the original, generic capable, service.
getShard() - Method in class discord4j.store.api.util.StoreContext
This gets the shard index which the client is currently operating on.
getStoreService() - Method in class discord4j.store.api.service.StoreServiceLoader
Gets the StoreService implementation to use.
getT1() - Method in class discord4j.store.api.util.LongLongTuple2
Type-safe way to get the fist object of this Tuples.
getT1() - Method in class discord4j.store.api.util.LongObjTuple2
Type-safe way to get the fist object of this Tuples.
getT2() - Method in class discord4j.store.api.util.LongLongTuple2
Type-safe way to get the second object of this Tuples.
getT2() - Method in class discord4j.store.api.util.LongObjTuple2
Type-safe way to get the second object of this Tuples.

H

hasGenericStores() - Method in class discord4j.store.api.mapping.MappingStoreService
 
hasGenericStores() - Method in class discord4j.store.api.noop.NoOpStoreService
 
hasGenericStores() - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
hasGenericStores() - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
hasGenericStores() - Method in interface discord4j.store.api.service.StoreService
This is used to check if this service can provide generic stores.
hashCode() - Method in class discord4j.store.api.util.LongLongTuple2
 
hashCode() - Method in class discord4j.store.api.util.LongObjTuple2
 
hasLongObjStores() - Method in class discord4j.store.api.mapping.MappingStoreService
 
hasLongObjStores() - Method in class discord4j.store.api.noop.NoOpStoreService
 
hasLongObjStores() - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
hasLongObjStores() - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
hasLongObjStores() - Method in interface discord4j.store.api.service.StoreService
This is used to check if this service can provide long-object stores.

I

init(StoreContext) - Method in class discord4j.store.api.mapping.MappingStoreService
 
init(StoreContext) - Method in class discord4j.store.api.noop.NoOpStoreService
 
init(StoreContext) - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
init(StoreContext) - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
init(StoreContext) - Method in interface discord4j.store.api.service.StoreService
This is a lifecycle method called to signal that a store should allocate any necessary resources.
invalidate() - Method in class discord4j.store.api.noop.NoOpStore
 
invalidate() - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
invalidate() - Method in class discord4j.store.api.primitive.ForwardingStore
 
invalidate() - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
invalidate() - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
invalidate() - Method in interface discord4j.store.api.Store
Invalidates the contents of the store.
iterator() - Method in class discord4j.store.api.util.LongLongTuple2
 
iterator() - Method in class discord4j.store.api.util.LongObjTuple2
 
iterator() - Method in class discord4j.store.api.util.MappingIterable
 

K

keys() - Method in class discord4j.store.api.noop.NoOpStore
 
keys() - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
keys() - Method in class discord4j.store.api.primitive.ForwardingStore
 
keys() - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
keys() - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
keys() - Method in interface discord4j.store.api.Store
Gets a stream of all keys in the data source.

L

Lazy<T> - Class in discord4j.store.api.util
A wrapper which lazily-initializes an object using the given supplier.
Lazy(Supplier<T>) - Constructor for class discord4j.store.api.util.Lazy
 
LongLongTuple2 - Class in discord4j.store.api.util
Copy of Reactor's Tuple2 but accepting two longs.
longObjEntries() - Method in class discord4j.store.api.primitive.ForwardingStore
 
longObjEntries() - Method in interface discord4j.store.api.primitive.LongObjStore
Gets a stream of all entries in the data source.
LongObjStore<V extends Serializable> - Interface in discord4j.store.api.primitive
This provides an active data connection to a store's data source.
LongObjTuple2<T> - Class in discord4j.store.api.util
Copy of Reactor's Tuple2 but accepting a long as the first object.

M

MappingIterable<I,O> - Class in discord4j.store.api.util
This class is an iterable which lazily maps an input type to an output type from a provided iterable.
MappingIterable(Function<I, O>, Iterable<I>) - Constructor for class discord4j.store.api.util.MappingIterable
Constructs a mapping iterable.
MappingStoreService - Class in discord4j.store.api.mapping
Allows you to delegate the store process to a different StoreService depending on the stored value class.

N

newGenericStore(Class<K>, Class<V>) - Method in class discord4j.store.api.service.StoreServiceLoader
Generates a new generic store instance from the most appropriate service.
newLongObjStore(Class<V>) - Method in class discord4j.store.api.service.StoreServiceLoader
Generates a new long-object store instance from the most appropriate service.
NoOpLongObjStore<V extends Serializable> - Class in discord4j.store.api.noop.primitive
Data connection implementation which does nothing.
NoOpLongObjStore() - Constructor for class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
NoOpStore<K extends Comparable<K>,V extends Serializable> - Class in discord4j.store.api.noop
Data connection implementation which does nothing.
NoOpStore() - Constructor for class discord4j.store.api.noop.NoOpStore
 
NoOpStoreService - Class in discord4j.store.api.noop
Service which provides stores that do nothing.
NoOpStoreService() - Constructor for class discord4j.store.api.noop.NoOpStoreService
 

O

of(long, long) - Static method in class discord4j.store.api.util.LongLongTuple2
Create a LongLongTuple2 with the given objects.
of(long, T) - Static method in class discord4j.store.api.util.LongObjTuple2
Create a LongObjTuple2 with the given objects.
order() - Method in class discord4j.store.api.noop.NoOpStoreService
 
order() - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
order() - Method in interface discord4j.store.api.service.StoreService
Returns an arbitrary order for this service.

P

provideGenericStore(Class<K>, Class<V>) - Method in class discord4j.store.api.mapping.MappingStoreService
 
provideGenericStore(Class<K>, Class<V>) - Method in class discord4j.store.api.noop.NoOpStoreService
 
provideGenericStore(Class<K>, Class<V>) - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
provideGenericStore(Class<K>, Class<V>) - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
provideGenericStore(Class<K>, Class<V>) - Method in interface discord4j.store.api.service.StoreService
This is called to provide a new store instance for the provided configuration.
provideLongObjStore(Class<V>) - Method in class discord4j.store.api.mapping.MappingStoreService
 
provideLongObjStore(Class<V>) - Method in class discord4j.store.api.noop.NoOpStoreService
 
provideLongObjStore(Class<V>) - Method in class discord4j.store.api.primitive.ForwardingStoreService
 
provideLongObjStore(Class<V>) - Method in class discord4j.store.api.readonly.ReadOnlyStoreService
 
provideLongObjStore(Class<V>) - Method in interface discord4j.store.api.service.StoreService
This is called to provide a new store instance with a long key and object values.

R

ReadOnlyLongObjStore<V extends Serializable> - Class in discord4j.store.api.readonly.primitive
 
ReadOnlyLongObjStore(LongObjStore<V>) - Constructor for class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
ReadOnlyStore<K extends Comparable<K>,V extends Serializable> - Class in discord4j.store.api.readonly
Store implementation that returns Mono.empty() to every writing operation.
ReadOnlyStore(Store<K, V>) - Constructor for class discord4j.store.api.readonly.ReadOnlyStore
 
ReadOnlyStoreService - Class in discord4j.store.api.readonly
StoreService decorator disabling all writing operations, effectively working as a read-only store.
ReadOnlyStoreService(StoreService) - Constructor for class discord4j.store.api.readonly.ReadOnlyStoreService
Create a new ReadOnlyStoreService for the given StoreService.

S

save(K, V) - Method in class discord4j.store.api.noop.NoOpStore
 
save(Publisher<Tuple2<K, V>>) - Method in class discord4j.store.api.noop.NoOpStore
 
save(Long, V) - Method in class discord4j.store.api.primitive.ForwardingStore
 
save(Publisher<Tuple2<Long, V>>) - Method in class discord4j.store.api.primitive.ForwardingStore
 
save(Long, V) - Method in interface discord4j.store.api.primitive.LongObjStore
 
save(Publisher<Tuple2<Long, V>>) - Method in interface discord4j.store.api.primitive.LongObjStore
 
save(K, V) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
save(Publisher<Tuple2<K, V>>) - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
save(K, V) - Method in interface discord4j.store.api.Store
Stores a key value pair.
save(Publisher<Tuple2<K, V>>) - Method in interface discord4j.store.api.Store
Stores key value pairs.
saveWithLong(long, V) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
saveWithLong(Publisher<LongObjTuple2<V>>) - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
saveWithLong(long, V) - Method in class discord4j.store.api.primitive.ForwardingStore
 
saveWithLong(Publisher<LongObjTuple2<V>>) - Method in class discord4j.store.api.primitive.ForwardingStore
 
saveWithLong(long, V) - Method in interface discord4j.store.api.primitive.LongObjStore
Stores a key value pair.
saveWithLong(Publisher<LongObjTuple2<V>>) - Method in interface discord4j.store.api.primitive.LongObjStore
Stores key value pairs.
saveWithLong(long, V) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
saveWithLong(Publisher<LongObjTuple2<V>>) - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
setFallback(StoreService) - Method in class discord4j.store.api.mapping.MappingStoreService
Set the fallback StoreService to use if no mapping was previously defined for a given type.
setMapping(Class<?>, StoreService) - Method in class discord4j.store.api.mapping.MappingStoreService
Set a new delegate StoreService for the given value class.
size() - Method in class discord4j.store.api.util.LongLongTuple2
Return the number of elements in this Tuples.
size() - Method in class discord4j.store.api.util.LongObjTuple2
Return the number of elements in this Tuples.
spliterator() - Method in class discord4j.store.api.util.MappingIterable
 
Store<K extends Comparable<K>,V extends Serializable> - Interface in discord4j.store.api
This provides an active data connection to a store's data source.
StoreContext - Class in discord4j.store.api.util
This is a simple context object, containing various information about the environment the store is being invoked in.
StoreContext(int, Class<?>) - Constructor for class discord4j.store.api.util.StoreContext
 
StoreService - Interface in discord4j.store.api.service
Store abstract factory that can be manually created or loaded through a StoreServiceLoader as a Java service.
StoreServiceLoader - Class in discord4j.store.api.service
A factory-esque object which provides save objects from StoreServices.
StoreServiceLoader() - Constructor for class discord4j.store.api.service.StoreServiceLoader
Creates a reusable instance of the provider, service discovery occurs at this point!
StoreServiceLoader(Map<Class<? extends StoreService>, Integer>) - Constructor for class discord4j.store.api.service.StoreServiceLoader
Creates a reusable instance of the provider, service discovery occurs at this point!

T

test(T) - Method in class discord4j.store.api.util.WithinRangePredicate
 
toArray() - Method in class discord4j.store.api.util.LongLongTuple2
Turn this Tuples into a plain Object array.
toArray() - Method in class discord4j.store.api.util.LongObjTuple2
Turn this Tuples into a plain Object array.
toList() - Method in class discord4j.store.api.util.LongLongTuple2
Turn this Tuples into a plain Object list.
toList() - Method in class discord4j.store.api.util.LongObjTuple2
Turn this Tuples into a plain Object list.
toString() - Method in class discord4j.store.api.primitive.ForwardingStore
 
toString() - Method in class discord4j.store.api.util.LongLongTuple2
A Tuple String representation is the comma separated list of values, enclosed in square brackets.
toString() - Method in class discord4j.store.api.util.LongObjTuple2
A Tuple String representation is the comma separated list of values, enclosed in square brackets.

V

values() - Method in class discord4j.store.api.noop.NoOpStore
 
values() - Method in class discord4j.store.api.noop.primitive.NoOpLongObjStore
 
values() - Method in class discord4j.store.api.primitive.ForwardingStore
 
values() - Method in class discord4j.store.api.readonly.primitive.ReadOnlyLongObjStore
 
values() - Method in class discord4j.store.api.readonly.ReadOnlyStore
 
values() - Method in interface discord4j.store.api.Store
Gets a stream of all values in the data source.

W

WithinRangePredicate<T extends Comparable<T>> - Class in discord4j.store.api.util
This is a predicate implementation which tests whether a provided object is within range of the starting and ending objects.
WithinRangePredicate(T, T) - Constructor for class discord4j.store.api.util.WithinRangePredicate
Constructs the predicate.
C D E F G H I K L M N O P R S T V W 
Skip navigation links