|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.domian.repository.RepartitionService
public class RepartitionService
Service for repartitioning of PartitionRepository
instances.
Nested Class Summary | |
---|---|
private static class |
RepartitionService.RepartitionTask
The actual task to perform whenever this service is invoked. |
Field Summary | |
---|---|
private java.util.concurrent.ScheduledExecutorService |
scheduler
|
Constructor Summary | |
---|---|
RepartitionService(PartitionRepository repository)
The repartitioning interval is set to 60 seconds. |
|
RepartitionService(PartitionRepository repository,
java.lang.Integer repartitionInterval)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final java.util.concurrent.ScheduledExecutorService scheduler
Constructor Detail |
---|
public RepartitionService(PartitionRepository repository)
repository
- the repository to repartitionpublic RepartitionService(PartitionRepository repository, java.lang.Integer repartitionInterval)
repository
- the repository to repartitionrepartitionInterval
- the number of seconds between each repartitioning
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |