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

A

addFilters(Collection<TransactionFilter>) - Method in class io.appform.dropwizard.sharding.observers.internal.FilteringObserver
 
addListener(TransactionListener) - Method in class io.appform.dropwizard.sharding.observers.internal.ListenerTriggeringObserver
 
addListeners(Collection<TransactionListener>) - Method in class io.appform.dropwizard.sharding.observers.internal.ListenerTriggeringObserver
 
advance(int, int) - Method in class io.appform.dropwizard.sharding.scroll.ScrollPointer
 
afterEnd() - Method in class io.appform.dropwizard.sharding.utils.TransactionHandler
 
afterException(TransactionExecutionContext, Throwable) - Method in interface io.appform.dropwizard.sharding.listeners.TransactionListener
 
afterExecute(TransactionExecutionContext) - Method in interface io.appform.dropwizard.sharding.listeners.TransactionListener
 
allow() - Static method in class io.appform.dropwizard.sharding.filters.TransactionFilterResult
 
apply(Function<T, Void>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
apply(Function<T, Void>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 

B

BalancedDBShardingBundle<T extends io.dropwizard.Configuration> - Class in io.appform.dropwizard.sharding
A dropwizard bundle that provides sharding over normal RDBMS.
BalancedDBShardingBundle(String, Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.BalancedDBShardingBundle
 
BalancedDBShardingBundle(String, List<String>) - Constructor for class io.appform.dropwizard.sharding.BalancedDBShardingBundle
 
BalancedDBShardingBundle(Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.BalancedDBShardingBundle
 
BalancedDBShardingBundle(String...) - Constructor for class io.appform.dropwizard.sharding.BalancedDBShardingBundle
 
BalancedShardManager - Class in io.appform.dropwizard.sharding.sharding
Manages shard to bucket mapping.
BalancedShardManager(int) - Constructor for class io.appform.dropwizard.sharding.sharding.BalancedShardManager
 
BalancedShardManager(int, ShardBlacklistingStore) - Constructor for class io.appform.dropwizard.sharding.sharding.BalancedShardManager
 
beforeExecute(TransactionExecutionContext) - Method in interface io.appform.dropwizard.sharding.listeners.TransactionListener
 
beforeStart() - Method in class io.appform.dropwizard.sharding.utils.TransactionHandler
 
blacklist(int) - Method in class io.appform.dropwizard.sharding.sharding.InMemoryLocalShardBlacklistingStore
 
blacklist(int) - Method in interface io.appform.dropwizard.sharding.sharding.ShardBlacklistingStore
 
BlacklistConfig - Class in io.appform.dropwizard.sharding.config
 
BlacklistConfig() - Constructor for class io.appform.dropwizard.sharding.config.BlacklistConfig
 
blacklisted(int) - Method in class io.appform.dropwizard.sharding.sharding.InMemoryLocalShardBlacklistingStore
 
blacklisted(int) - Method in interface io.appform.dropwizard.sharding.sharding.ShardBlacklistingStore
 
BlacklistingAwareHealthCheck - Class in io.appform.dropwizard.sharding.healthcheck
 
BlacklistingAwareHealthCheck(int, HealthCheck, ShardManager, BlacklistConfig) - Constructor for class io.appform.dropwizard.sharding.healthcheck.BlacklistingAwareHealthCheck
 
blacklistShard(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
BlacklistShardTask - Class in io.appform.dropwizard.sharding.admin
 
BlacklistShardTask(ShardManager) - Constructor for class io.appform.dropwizard.sharding.admin.BlacklistShardTask
 
block(String) - Static method in class io.appform.dropwizard.sharding.filters.TransactionFilterResult
 
bucketId(T) - Method in interface io.appform.dropwizard.sharding.sharding.BucketIdExtractor
 
bucketId(T) - Method in class io.appform.dropwizard.sharding.sharding.impl.ConsistentHashBucketIdExtractor
 
bucketId(T) - Method in class io.appform.dropwizard.sharding.sharding.impl.RandomBucketIdExtractor
 
BucketIdExtractor<T> - Interface in io.appform.dropwizard.sharding.sharding
Extracts bucket id from key

C

CacheableLookupDao<T> - Class in io.appform.dropwizard.sharding.dao
A write through/read through cache enabled dao to manage lookup and top level elements in the system.
CacheableLookupDao(List<SessionFactory>, Class<T>, ShardCalculator<String>, LookupCache<T>, ShardingBundleOptions, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.CacheableLookupDao
 
CacheableRelationalDao<T> - Class in io.appform.dropwizard.sharding.dao
A read/write through cache enabled RelationalDao
CacheableRelationalDao(List<SessionFactory>, Class<T>, ShardCalculator<String>, RelationalCache<T>, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.CacheableRelationalDao
 
check() - Method in class io.appform.dropwizard.sharding.healthcheck.BlacklistingAwareHealthCheck
 
cloneObject(T) - Static method in class io.appform.dropwizard.sharding.utils.InternalUtils
 
compare(ScrollResultItem<T>, ScrollResultItem<T>) - Method in class io.appform.dropwizard.sharding.scroll.FieldComparator
 
ConsistentHashBucketIdExtractor<T> - Class in io.appform.dropwizard.sharding.sharding.impl
Generates bucket id on the basis of murmur128 of the key.
ConsistentHashBucketIdExtractor(ShardManager) - Constructor for class io.appform.dropwizard.sharding.sharding.impl.ConsistentHashBucketIdExtractor
 
count(DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Queries using the specified criteria across all shards and returns the counts of rows satisfying the criteria.
count(String, DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
countScatterGather(DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
Queries using the specified criteria across all shards and returns the counts of rows satisfying the criteria.
createOrUpdate(RelationalDao<U>, DetachedCriteria, UnaryOperator<U>, Supplier<U>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
createOrUpdate(RelationalDao<U>, DetachedCriteria, UnaryOperator<U>, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
createOrUpdate(String, UnaryOperator<T>, Supplier<T>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
createOrUpdate(String, DetachedCriteria, UnaryOperator<T>, Supplier<T>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
createParentObjectDao(Class<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createParentObjectDao(Class<EntityType>, LookupCache<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createParentObjectDao(Class<EntityType>, BucketIdExtractor<String>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createParentObjectDao(Class<EntityType>, BucketIdExtractor<String>, LookupCache<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createRelatedObjectDao(Class<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createRelatedObjectDao(Class<EntityType>, RelationalCache<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createRelatedObjectDao(Class<EntityType>, BucketIdExtractor<String>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createRelatedObjectDao(Class<EntityType>, BucketIdExtractor<String>, RelationalCache<EntityType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createShardManager(int, ShardBlacklistingStore) - Method in class io.appform.dropwizard.sharding.BalancedDBShardingBundle
 
createShardManager(int, ShardBlacklistingStore) - Method in class io.appform.dropwizard.sharding.DBShardingBundle
 
createShardManager(int, ShardBlacklistingStore) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createWrapperDao(Class<DaoType>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createWrapperDao(Class<DaoType>, BucketIdExtractor<String>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
createWrapperDao(Class<DaoType>, Class[], Class[]) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 

D

DaoFwdException - Exception in io.appform.dropwizard.sharding.exceptions
 
DaoFwdException(String, Throwable) - Constructor for exception io.appform.dropwizard.sharding.exceptions.DaoFwdException
 
DBShardingBundle<T extends io.dropwizard.Configuration> - Class in io.appform.dropwizard.sharding
A dropwizard bundle that provides sharding over normal RDBMS.
DBShardingBundle(String, Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundle
 
DBShardingBundle(String, List<String>) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundle
 
DBShardingBundle(Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundle
 
DBShardingBundle(String...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundle
 
DBShardingBundleBase<T extends io.dropwizard.Configuration> - Class in io.appform.dropwizard.sharding
Base for bundles.
DBShardingBundleBase(String, Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundleBase
 
DBShardingBundleBase(String, List<String>) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundleBase
 
DBShardingBundleBase(Class<?>, Class<?>...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundleBase
 
DBShardingBundleBase(String...) - Constructor for class io.appform.dropwizard.sharding.DBShardingBundleBase
 
delete(String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 

E

evaluate(TransactionExecutionContext) - Method in interface io.appform.dropwizard.sharding.filters.TransactionFilter
 
execute(Map<String, List<String>>, PrintWriter) - Method in class io.appform.dropwizard.sharding.admin.BlacklistShardTask
 
execute(Map<String, List<String>>, PrintWriter) - Method in class io.appform.dropwizard.sharding.admin.UnblacklistShardTask
 
execute() - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
execute() - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
execute(SessionFactory, boolean, Function<U, T>, U, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
execute(SessionFactory, boolean, Function<U, T>, U, boolean, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
execute(SessionFactory, boolean, Function<U, T>, U, Function<T, V>, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
execute(SessionFactory, boolean, Function<U, T>, U, Function<T, V>, boolean, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
execute(SessionFactory, boolean, Function<Session, T>, boolean, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
execute(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricObserver
 
execute(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.observers.internal.FilteringObserver
 
execute(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.observers.internal.ListenerTriggeringObserver
 
execute(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.observers.internal.TerminalTransactionObserver
 
execute(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.observers.TransactionObserver
 
executeAndResolve(SessionFactory, boolean, Function<U, T>, U, String, int) - Method in class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
exists(String) - Method in interface io.appform.dropwizard.sharding.caching.LookupCache
Read through exists method that will be called if cache enabled CacheableLookupDao.exists(String) is used
exists(String, Object) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Read through exists method that will be called if cache enabled RelationalDao.exists(String, Object) is used
exists(String) - Method in class io.appform.dropwizard.sharding.dao.CacheableLookupDao
Read through exists check on the basis of key (value of field annotated with LookupKey) from cache.
exists(String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Check if object with specified key exists in any shard.
exists(String, Object) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 

F

FieldComparator<T> - Class in io.appform.dropwizard.sharding.scroll
A Comparator that is used by scroll api for sorting results from multiple shards
FieldComparator(Field) - Constructor for class io.appform.dropwizard.sharding.scroll.FieldComparator
 
filter(Predicate<T>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
filter(Predicate<T>, RuntimeException) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
FilteringObserver - Class in io.appform.dropwizard.sharding.observers.internal
Runs all registered filters.
FilteringObserver(TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.observers.internal.FilteringObserver
 
FilterOutput - Enum in io.appform.dropwizard.sharding.filters
Output for a filter
forParent(String) - Method in class io.appform.dropwizard.sharding.dao.WrapperDao
Get a fully formed DAO that localizes all dao operations to the shard for the given parentKey.

G

get(String) - Method in interface io.appform.dropwizard.sharding.caching.LookupCache
Read through method that will be called if a cache enabled CacheableLookupDao.get(String) is used
get(String, Object) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Read through method that will be called if a cache enabled CacheableRelationalDao.get(String, Object) is used
get(String) - Method in class io.appform.dropwizard.sharding.dao.CacheableLookupDao
Read through an object on the basis of key (value of field annotated with LookupKey) from cache.
get(String, Object) - Method in class io.appform.dropwizard.sharding.dao.CacheableRelationalDao
 
get(String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Get an object on the basis of key (value of field annotated with LookupKey) from any shard.
get(String, UnaryOperator<Criteria>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
get(String, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Get an object on the basis of key (value of field annotated with LookupKey) from any shard and applies the provided function/lambda to it.
get(String, UnaryOperator<Criteria>, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
get(List<String>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Queries across various shards and returns the results.
get(String, Object) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
get(String, Object, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
getBlacklistingStore() - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
getConfig(T) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
getCurrOffset(int) - Method in class io.appform.dropwizard.sharding.scroll.ScrollPointer
 
getDaoMetricPrefix(Class<?>) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 
getDaoOpMetricData(String, TransactionExecutionContext) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 
getEntityMetricData(Class<?>) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 
getKeyField() - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
getKeyField() - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
getMetricConfig(T) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
getShardCalculator() - Method in interface io.appform.dropwizard.sharding.dao.ShardedDao
 
getShardMetricData(String) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 

H

HealthCheckManager - Class in io.appform.dropwizard.sharding.healthcheck
 
HealthCheckManager(String, ShardInfoProvider, ShardBlacklistingStore, ShardManager) - Constructor for class io.appform.dropwizard.sharding.healthcheck.HealthCheckManager
 
healthStatus() - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 

I

initBundles(Bootstrap) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
initialize(Bootstrap<?>) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
InMemoryLocalShardBlacklistingStore - Class in io.appform.dropwizard.sharding.sharding
 
InMemoryLocalShardBlacklistingStore() - Constructor for class io.appform.dropwizard.sharding.sharding.InMemoryLocalShardBlacklistingStore
 
InternalUtils - Class in io.appform.dropwizard.sharding.utils
Utilities for internal use
InternalUtils() - Constructor for class io.appform.dropwizard.sharding.utils.InternalUtils
 
io.appform.dropwizard.sharding - package io.appform.dropwizard.sharding
 
io.appform.dropwizard.sharding.admin - package io.appform.dropwizard.sharding.admin
 
io.appform.dropwizard.sharding.caching - package io.appform.dropwizard.sharding.caching
 
io.appform.dropwizard.sharding.config - package io.appform.dropwizard.sharding.config
 
io.appform.dropwizard.sharding.dao - package io.appform.dropwizard.sharding.dao
 
io.appform.dropwizard.sharding.exceptions - package io.appform.dropwizard.sharding.exceptions
 
io.appform.dropwizard.sharding.execution - package io.appform.dropwizard.sharding.execution
 
io.appform.dropwizard.sharding.filters - package io.appform.dropwizard.sharding.filters
 
io.appform.dropwizard.sharding.healthcheck - package io.appform.dropwizard.sharding.healthcheck
 
io.appform.dropwizard.sharding.listeners - package io.appform.dropwizard.sharding.listeners
 
io.appform.dropwizard.sharding.metrics - package io.appform.dropwizard.sharding.metrics
 
io.appform.dropwizard.sharding.observers - package io.appform.dropwizard.sharding.observers
 
io.appform.dropwizard.sharding.observers.internal - package io.appform.dropwizard.sharding.observers.internal
 
io.appform.dropwizard.sharding.scroll - package io.appform.dropwizard.sharding.scroll
 
io.appform.dropwizard.sharding.sharding - package io.appform.dropwizard.sharding.sharding
 
io.appform.dropwizard.sharding.sharding.impl - package io.appform.dropwizard.sharding.sharding.impl
 
io.appform.dropwizard.sharding.utils - package io.appform.dropwizard.sharding.utils
 
isBlacklisted(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
isMappedToValidShard(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
isMetricApplicable(Class<?>) - Method in class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 
isOnValidShard(T) - Method in class io.appform.dropwizard.sharding.utils.ShardCalculator
 

L

LegacyShardManager - Class in io.appform.dropwizard.sharding.sharding
Manages shard to bucket mapping.
LegacyShardManager(int) - Constructor for class io.appform.dropwizard.sharding.sharding.LegacyShardManager
 
LegacyShardManager(int, ShardBlacklistingStore) - Constructor for class io.appform.dropwizard.sharding.sharding.LegacyShardManager
 
ListenerTriggeringObserver - Class in io.appform.dropwizard.sharding.observers.internal
 
ListenerTriggeringObserver() - Constructor for class io.appform.dropwizard.sharding.observers.internal.ListenerTriggeringObserver
 
ListenerTriggeringObserver(TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.observers.internal.ListenerTriggeringObserver
 
lockAndGetExecutor(String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
lockAndGetExecutor(String, DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
LockedContext<T> - Class in io.appform.dropwizard.sharding.dao
 
LockedContext(int, SessionFactory, Supplier<T>, Class<T>, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.LockedContext
 
LockedContext(int, SessionFactory, Function<T, T>, T, Class<T>, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.LockedContext
 
LockedContext.Mutator<T> - Interface in io.appform.dropwizard.sharding.dao
 
LookupCache<V> - Interface in io.appform.dropwizard.sharding.caching
A simple cache interface which allows plugging in any caching framework or infrastructure to enable write through caching
LookupDao<T> - Class in io.appform.dropwizard.sharding.dao
A dao to manage lookup and top level elements in the system.
LookupDao(List<SessionFactory>, Class<T>, ShardCalculator<String>, ShardingBundleOptions, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.LookupDao
Creates a new sharded DAO.
LookupDao.ReadOnlyContext<T> - Class in io.appform.dropwizard.sharding.dao
 
LookupKey - Annotation Type in io.appform.dropwizard.sharding.sharding
Annotation to annotate top level lookup key to be used by LookupDao

M

manageHealthChecks(BlacklistConfig, Environment) - Method in class io.appform.dropwizard.sharding.healthcheck.HealthCheckManager
 
MetricConfig - Class in io.appform.dropwizard.sharding.config
 
MetricConfig() - Constructor for class io.appform.dropwizard.sharding.config.MetricConfig
 
MetricData - Class in io.appform.dropwizard.sharding.metrics
 
MetricData() - Constructor for class io.appform.dropwizard.sharding.metrics.MetricData
 
mutate(LockedContext.Mutator<T>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
mutator(T) - Method in interface io.appform.dropwizard.sharding.dao.LockedContext.Mutator
 

N

namespace(String) - Method in class io.appform.dropwizard.sharding.ShardInfoProvider
 
numBuckets() - Method in class io.appform.dropwizard.sharding.sharding.BalancedShardManager
 
numBuckets() - Method in class io.appform.dropwizard.sharding.sharding.LegacyShardManager
 
numBuckets() - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
numShards() - Method in class io.appform.dropwizard.sharding.sharding.BalancedShardManager
 
numShards() - Method in class io.appform.dropwizard.sharding.sharding.LegacyShardManager
 
numShards() - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 

O

onError() - Method in class io.appform.dropwizard.sharding.utils.TransactionHandler
 
onHealthCheckAdded(String, HealthCheck) - Method in class io.appform.dropwizard.sharding.healthcheck.HealthCheckManager
 
onHealthCheckRemoved(String, HealthCheck) - Method in class io.appform.dropwizard.sharding.healthcheck.HealthCheckManager
 

P

parseShardParam(Map<String, List<String>>) - Static method in class io.appform.dropwizard.sharding.admin.TaskUtils
 
proceed(TransactionExecutionContext, Supplier<T>) - Method in class io.appform.dropwizard.sharding.observers.TransactionObserver
 
put(String, V) - Method in interface io.appform.dropwizard.sharding.caching.LookupCache
Write through method that will be called if cache enabled CacheableLookupDao.save(Object) is used
put(String, Object, V) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Write through method that will be called if cache enabled CacheableRelationalDao.save(String, Object) is used
put(String, List<V>) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Write through method that will be called if cache enabled RelationalDao.select(String, DetachedCriteria, int, int, Function) is used
put(String, int, int, List<V>) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Write through method that will be called if cache enabled RelationalDao.select(String, DetachedCriteria, int, int, Function) is used
put(int, Integer) - Method in class io.appform.dropwizard.sharding.scroll.ScrollPointer
 

R

RandomBucketIdExtractor<T> - Class in io.appform.dropwizard.sharding.sharding.impl
Generates a random bucket id.
RandomBucketIdExtractor(ShardManager) - Constructor for class io.appform.dropwizard.sharding.sharding.impl.RandomBucketIdExtractor
 
readAugmentParent(RelationalDao<U>, DetachedCriteria, int, int, BiConsumer<T, List<U>>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
readAugmentParent(RelationalDao<U>, DetachedCriteria, int, int, BiConsumer<T, List<U>>, Predicate<T>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
readOneAugmentParent(RelationalDao<U>, DetachedCriteria, BiConsumer<T, List<U>>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
readOneAugmentParent(RelationalDao<U>, DetachedCriteria, BiConsumer<T, List<U>>, Predicate<T>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
ReadOnlyContext(int, SessionFactory, Function<String, T>, Supplier<Boolean>, String, boolean, ShardInfoProvider, Class<?>, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.LookupDao.ReadOnlyContext
 
readOnlyExecutor(String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
readOnlyExecutor(String, UnaryOperator<Criteria>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
readOnlyExecutor(String, Supplier<Boolean>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
readOnlyExecutor(String, UnaryOperator<Criteria>, Supplier<Boolean>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
registerFilter(TransactionFilter) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
registerListener(TransactionListener) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
registerObserver(TransactionObserver) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
RelationalCache<V> - Interface in io.appform.dropwizard.sharding.caching
A simple cache interface which allows plugging in any caching framework or infrastructure to enable write through caching
RelationalDao<T> - Class in io.appform.dropwizard.sharding.dao
A dao used to work with entities related to a parent shard.
RelationalDao(List<SessionFactory>, Class<T>, ShardCalculator<String>, ShardInfoProvider, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.dao.RelationalDao
Create a relational DAO.
run(DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Run arbitrary read-only queries on all shards and return results.
run(DetachedCriteria, Function<Map<Integer, List>, U>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Run read-only queries on all shards and transform them into required types
run(T, Environment) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
runBundles(T, Environment) - Method in class io.appform.dropwizard.sharding.DBShardingBundleBase
 
runInSession(String, Function<Session, U>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
runInSession(BiFunction<Integer, Session, U>, Function<Map<Integer, U>, V>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
runInSession(String, Function<Session, U>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 

S

save(T) - Method in class io.appform.dropwizard.sharding.dao.CacheableLookupDao
Write through the entity on proper shard based on hash of the value in the key field in the object and into cache.
save(String, T) - Method in class io.appform.dropwizard.sharding.dao.CacheableRelationalDao
 
save(RelationalDao<U>, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
save(RelationalDao<U>, U, Function<U, U>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
save(T) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Saves an entity on proper shard based on hash of the value in the key field in the object.
save(T, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Save an object on the basis of key (value of field annotated with LookupKey) to target shard and applies the provided function/lambda to it.
save(String, T) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
save(String, T, Function<T, U>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
saveAll(RelationalDao<U>, Function<T, List<U>>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
saveAll(String, Collection<T>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
saveAndGetExecutor(T) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
saveAndGetExecutor(String, T) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
scatterGather(DetachedCriteria) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Queries using the specified criteria across all shards and returns the result.
scatterGather(DetachedCriteria, int, int) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
scrollDown(DetachedCriteria, ScrollPointer, int, String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Provides a scroll api for records across shards.
ScrollPointer - Class in io.appform.dropwizard.sharding.scroll
Private data structure for scroll point
ScrollPointer() - Constructor for class io.appform.dropwizard.sharding.scroll.ScrollPointer
 
ScrollPointer.Direction - Enum in io.appform.dropwizard.sharding.scroll
 
ScrollResult<T> - Class in io.appform.dropwizard.sharding.scroll
Results of a scroll operation
ScrollResult() - Constructor for class io.appform.dropwizard.sharding.scroll.ScrollResult
 
ScrollResultItem<T> - Class in io.appform.dropwizard.sharding.scroll
A wrapper for individual list item returned by a query per shard.
ScrollResultItem() - Constructor for class io.appform.dropwizard.sharding.scroll.ScrollResultItem
 
scrollUp(DetachedCriteria, ScrollPointer, int, String) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
Provides a scroll api for records across shards.
select(String) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Read through method that will be called if a cache enabled RelationalDao.select(String, DetachedCriteria, int, int, Function) is used
select(String, int, int) - Method in interface io.appform.dropwizard.sharding.caching.RelationalCache
Read through method that will be called if a cache enabled RelationalDao.select(String, DetachedCriteria, int, int, Function) is used
select(String, DetachedCriteria, int, int) - Method in class io.appform.dropwizard.sharding.dao.CacheableRelationalDao
 
select(String, DetachedCriteria, int, int) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
select(String, DetachedCriteria, int, int, Function<List<T>, U>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
setNext(TransactionObserver) - Method in class io.appform.dropwizard.sharding.observers.TransactionObserver
 
ShardBlacklistedException - Exception in io.appform.dropwizard.sharding.exceptions
 
ShardBlacklistedException(int) - Constructor for exception io.appform.dropwizard.sharding.exceptions.ShardBlacklistedException
 
ShardBlacklistingStore - Interface in io.appform.dropwizard.sharding.sharding
 
ShardCalculator<T> - Class in io.appform.dropwizard.sharding.utils
Utility class for calculating shards.
ShardCalculator(ShardManager, BucketIdExtractor<T>) - Constructor for class io.appform.dropwizard.sharding.utils.ShardCalculator
 
ShardedDao<T> - Interface in io.appform.dropwizard.sharding.dao
 
ShardedHibernateFactory - Class in io.appform.dropwizard.sharding.config
{@summary Config for shards hibernate factory.
ShardedHibernateFactory() - Constructor for class io.appform.dropwizard.sharding.config.ShardedHibernateFactory
 
ShardedTransaction - Annotation Type in io.appform.dropwizard.sharding.sharding
Used to mark a transactional operation in a derviced AbstractDAO for use by WrapperDao
shardForBucket(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
shardForBucketImpl(int) - Method in class io.appform.dropwizard.sharding.sharding.BalancedShardManager
 
shardForBucketImpl(int) - Method in class io.appform.dropwizard.sharding.sharding.LegacyShardManager
 
shardForBucketImpl(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
ShardHealthCheckMeta - Class in io.appform.dropwizard.sharding.healthcheck
 
ShardHealthCheckMeta() - Constructor for class io.appform.dropwizard.sharding.healthcheck.ShardHealthCheckMeta
 
shardId(String) - Method in class io.appform.dropwizard.sharding.ShardInfoProvider
 
shardId(T) - Method in class io.appform.dropwizard.sharding.utils.ShardCalculator
 
ShardInfoProvider - Class in io.appform.dropwizard.sharding
 
ShardInfoProvider(String) - Constructor for class io.appform.dropwizard.sharding.ShardInfoProvider
 
ShardingBundleOptions - Class in io.appform.dropwizard.sharding.config
 
ShardingBundleOptions() - Constructor for class io.appform.dropwizard.sharding.config.ShardingBundleOptions
 
ShardManager - Class in io.appform.dropwizard.sharding.sharding
 
ShardManager(ShardBlacklistingStore) - Constructor for class io.appform.dropwizard.sharding.sharding.ShardManager
 
shardName(int) - Method in class io.appform.dropwizard.sharding.ShardInfoProvider
 
status() - Method in class io.appform.dropwizard.sharding.healthcheck.HealthCheckManager
 

T

TaskUtils - Class in io.appform.dropwizard.sharding.admin
 
TerminalTransactionObserver - Class in io.appform.dropwizard.sharding.observers.internal
 
TerminalTransactionObserver() - Constructor for class io.appform.dropwizard.sharding.observers.internal.TerminalTransactionObserver
 
TransactionExecutionContext - Class in io.appform.dropwizard.sharding.execution
 
TransactionExecutionContext() - Constructor for class io.appform.dropwizard.sharding.execution.TransactionExecutionContext
 
TransactionExecutor - Class in io.appform.dropwizard.sharding.execution
Utility functional class for running transactions.
TransactionExecutor(ShardInfoProvider, Class<?>, Class<?>, TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.execution.TransactionExecutor
 
TransactionFilter - Interface in io.appform.dropwizard.sharding.filters
 
TransactionFilteredException - Exception in io.appform.dropwizard.sharding.exceptions
Thrown when a transaction is filtered
TransactionFilteredException(Collection<String>) - Constructor for exception io.appform.dropwizard.sharding.exceptions.TransactionFilteredException
 
TransactionFilterResult - Class in io.appform.dropwizard.sharding.filters
Output for the filter operation.
TransactionFilterResult() - Constructor for class io.appform.dropwizard.sharding.filters.TransactionFilterResult
 
TransactionHandler - Class in io.appform.dropwizard.sharding.utils
A transaction handler utility class
TransactionHandler(SessionFactory, boolean) - Constructor for class io.appform.dropwizard.sharding.utils.TransactionHandler
 
TransactionHandler(SessionFactory, boolean, boolean) - Constructor for class io.appform.dropwizard.sharding.utils.TransactionHandler
 
TransactionListener - Interface in io.appform.dropwizard.sharding.listeners
 
TransactionMetricManager - Class in io.appform.dropwizard.sharding.metrics
 
TransactionMetricManager(Supplier<MetricConfig>, MetricRegistry) - Constructor for class io.appform.dropwizard.sharding.metrics.TransactionMetricManager
 
TransactionMetricObserver - Class in io.appform.dropwizard.sharding.metrics
 
TransactionMetricObserver(TransactionMetricManager) - Constructor for class io.appform.dropwizard.sharding.metrics.TransactionMetricObserver
 
TransactionObserver - Class in io.appform.dropwizard.sharding.observers
 
TransactionObserver(TransactionObserver) - Constructor for class io.appform.dropwizard.sharding.observers.TransactionObserver
 

U

unblacklist(int) - Method in class io.appform.dropwizard.sharding.sharding.InMemoryLocalShardBlacklistingStore
 
unblacklist(int) - Method in interface io.appform.dropwizard.sharding.sharding.ShardBlacklistingStore
 
unblacklistShard(int) - Method in class io.appform.dropwizard.sharding.sharding.ShardManager
 
UnblacklistShardTask - Class in io.appform.dropwizard.sharding.admin
 
UnblacklistShardTask(ShardManager) - Constructor for class io.appform.dropwizard.sharding.admin.UnblacklistShardTask
 
update(String, Function<Optional<T>, T>) - Method in class io.appform.dropwizard.sharding.dao.CacheableLookupDao
Update the entity with a given id and refresh the object in the cache.
update(RelationalDao<U>, Object, Function<U, U>) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
update(RelationalDao<U>, DetachedCriteria, UnaryOperator<U>, BooleanSupplier) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
update(String, Function<Optional<T>, T>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
update(String, Object, Function<T, T>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
update(String, DetachedCriteria, Function<T, T>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
updateAll(String, int, int, DetachedCriteria, Function<T, T>) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
updateInLock(String, Function<Optional<T>, T>) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
UpdateOperationMeta - Class in io.appform.dropwizard.sharding.dao
 
UpdateOperationMeta() - Constructor for class io.appform.dropwizard.sharding.dao.UpdateOperationMeta
 
updateUsingQuery(RelationalDao<U>, UpdateOperationMeta) - Method in class io.appform.dropwizard.sharding.dao.LockedContext
 
updateUsingQuery(String, UpdateOperationMeta) - Method in class io.appform.dropwizard.sharding.dao.LookupDao
 
updateUsingQuery(String, UpdateOperationMeta) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 
updateUsingQuery(LockedContext<U>, UpdateOperationMeta) - Method in class io.appform.dropwizard.sharding.dao.RelationalDao
 

V

valueOf(String) - Static method in enum io.appform.dropwizard.sharding.filters.FilterOutput
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.appform.dropwizard.sharding.scroll.ScrollPointer.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.appform.dropwizard.sharding.filters.FilterOutput
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.appform.dropwizard.sharding.scroll.ScrollPointer.Direction
Returns an array containing the constants of this enum type, in the order they are declared.
visit(Consumer<TransactionObserver>) - Method in class io.appform.dropwizard.sharding.observers.TransactionObserver
 

W

WrapperDao<T,DaoType extends io.dropwizard.hibernate.AbstractDAO<T>> - Class in io.appform.dropwizard.sharding.dao
A dao used to wrap custom Dao's so that all operations on the DAO's are routed to the same shard for a parent key.
WrapperDao(List<SessionFactory>, Class<DaoType>, ShardCalculator<String>) - Constructor for class io.appform.dropwizard.sharding.dao.WrapperDao
Create a relational DAO.
WrapperDao(List<SessionFactory>, Class<DaoType>, Class[], Class[], ShardCalculator<String>) - Constructor for class io.appform.dropwizard.sharding.dao.WrapperDao
Create a relational DAO.
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2016–2023. All rights reserved.