|
||||||||||
| 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>
...
| 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 |
| Method Summary | ||
|---|---|---|
|
addPartitionFor(Specification<V> partitionSpecification,
Repository<? super V> partitionRepository)
Adds a new partition to this repository. |
|
|
addPartitionFor(Specification<V> partitionSpecification,
java.lang.String repositoryId)
Adds a new partition to this repository. |
|
|
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 |
| Method Detail |
|---|
public <V extends T> PartitionRepository<V> addPartitionFor(Specification<V> partitionSpecification,
java.lang.String repositoryId)
PartitionRepositorySpecification.
The new partition repository will be of the same type as this repository.
addPartitionFor in interface PartitionRepository<T extends Entity>addPartitionFor in class PartitionRepositoryInvocationHandler<T extends Entity>partitionSpecification - the specification specifying the partitionrepositoryId - the repository id; a non-blank value is mandatory for all persistent repositories
public <V extends T> PartitionRepository<V> addPartitionFor(Specification<V> partitionSpecification,
Repository<? super V> partitionRepository)
PartitionRepositorySpecification.
addPartitionFor in interface PartitionRepository<T extends Entity>addPartitionFor in class PartitionRepositoryInvocationHandler<T extends Entity>partitionSpecification - the specification specifying the partitionpartitionRepository - the partition repository
public <V extends T> java.lang.Boolean repartition(V entity)
repartition in interface PartitionRepository<T extends Entity>repartition in class PartitionRepositoryInvocationHandler<T extends Entity>entity - the entity to be repartitioned
true if entity was repartitioned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||