|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.domian.repository.AbstractRepository<T>
net.sourceforge.domian.repository.AbstractDomianCoreRepository<T>
net.sourceforge.domian.repository.PartitionRepositoryInvocationHandler<T>
net.sourceforge.domian.repository.PartitionRepositoryReuseInvocationHandler<T>
public final class PartitionRepositoryReuseInvocationHandler<T extends Entity>
...
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class net.sourceforge.domian.repository.PartitionRepositoryInvocationHandler |
|---|
PartitionRepositoryInvocationHandler.PartitionAwareSpecification<V extends T> |
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.domian.repository.PartitionRepositoryInvocationHandler |
|---|
executeOperationsExclusivelyOnly, iteratorRegistry, partitionSpecification, repositoryDelegate, repositoryDelegateIsAlreadyPartitioned, subPartitions, superPartitionRepository, superPartitionSpecification, synchronizer |
| Fields inherited from class net.sourceforge.domian.repository.AbstractDomianCoreRepository |
|---|
DEFAULT_DOMIAN_ROOT_DIR_NAME, DEFAULT_DOMIAN_ROOT_PATH, log |
| Fields inherited from class net.sourceforge.domian.repository.AbstractRepository |
|---|
supportsRecursiveIndexing, usesNativePartitioningSupport |
| Constructor Summary | |
|---|---|
PartitionRepositoryReuseInvocationHandler(Repository<T> repositoryDelegate)
|
|
PartitionRepositoryReuseInvocationHandler(Repository<T> repositoryDelegate,
Synchronizer synchronizer,
java.lang.Boolean executeOperationsExclusivelyOnly)
|
|
| Method Summary | ||
|---|---|---|
|
addPartitionFor(Specification<V> partitionSpecification,
Repository<? super V> partitionRepository)
|
|
|
addPartitionFor(Specification<V> partitionSpecification,
java.lang.String repositoryId)
|
|
|
repartition(V entity)
Since partition repositories are common, no moving entities around between different repository implementations are necessary. |
|
| Methods inherited from class net.sourceforge.domian.repository.AbstractDomianCoreRepository |
|---|
createUniqueSpecificationFor, getSynchronizer, makePartition, onMakePartition, setSynchronizer |
| Methods inherited from class net.sourceforge.domian.repository.AbstractRepository |
|---|
contains, count, countAll, countAllEntitiesSpecifiedBy, find, findAll, findSingle, iterate, iterateAll, putAll, remove, removeAll, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.sourceforge.domian.repository.Repository |
|---|
count, countAll, countAllEntitiesSpecifiedBy, find, findAll, findSingle, iterate, iterateAll, makePartition, putAll, remove, removeAll, update |
| Constructor Detail |
|---|
PartitionRepositoryReuseInvocationHandler(Repository<T> repositoryDelegate)
PartitionRepositoryReuseInvocationHandler(Repository<T> repositoryDelegate,
Synchronizer synchronizer,
java.lang.Boolean executeOperationsExclusivelyOnly)
| Method Detail |
|---|
public <V extends T> PartitionRepository<V> addPartitionFor(Specification<V> partitionSpecification,
java.lang.String repositoryId)
addPartitionFor in interface PartitionRepository<T extends Entity>addPartitionFor in class PartitionRepositoryInvocationHandler<T extends Entity>
public <V extends T> PartitionRepository<V> addPartitionFor(Specification<V> partitionSpecification,
Repository<? super V> partitionRepository)
addPartitionFor in interface PartitionRepository<T extends Entity>addPartitionFor in class PartitionRepositoryInvocationHandler<T extends Entity>public <V extends T> java.lang.Boolean repartition(V entity)
repartition in interface PartitionRepository<T extends Entity>repartition in class PartitionRepositoryInvocationHandler<T extends Entity>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||