net.sourceforge.domian.repository
Class RepartitionService

java.lang.Object
  extended by net.sourceforge.domian.repository.RepartitionService

public class RepartitionService
extends java.lang.Object

Service for repartitioning of PartitionRepository instances.

Since:
0.4
Author:
Eirik Torske

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
 

Constructor Detail

RepartitionService

public RepartitionService(PartitionRepository repository)
The repartitioning interval is set to 60 seconds.

Parameters:
repository - the repository to repartition

RepartitionService

public RepartitionService(PartitionRepository repository,
                          java.lang.Integer repartitionInterval)
Parameters:
repository - the repository to repartition
repartitionInterval - the number of seconds between each repartitioning


Copyright © 2006-2010. All Rights Reserved.