org.codehaus.wadi.location.balancing
Class BasicPartitionBalancerSingletonServiceHolder

java.lang.Object
  extended by org.codehaus.wadi.location.balancing.BasicPartitionBalancerSingletonServiceHolder
All Implemented Interfaces:
Lifecycle, PartitionBalancerSingletonServiceHolder, ServiceHolder, SingletonServiceHolder

public class BasicPartitionBalancerSingletonServiceHolder
extends java.lang.Object
implements PartitionBalancerSingletonServiceHolder

Version:
$Revision: 1538 $

Constructor Summary
BasicPartitionBalancerSingletonServiceHolder(SingletonServiceHolder delegate)
           
 
Method Summary
 Peer getHostingPeer()
           
 PartitionBalancerSingletonService getPartitionBalancerSingletonService()
           
 java.lang.Object getService()
           
 boolean isLocal()
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPartitionBalancerSingletonServiceHolder

public BasicPartitionBalancerSingletonServiceHolder(SingletonServiceHolder delegate)
Method Detail

getHostingPeer

public Peer getHostingPeer()
Specified by:
getHostingPeer in interface SingletonServiceHolder

isLocal

public boolean isLocal()
Specified by:
isLocal in interface SingletonServiceHolder

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface Lifecycle
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface Lifecycle
Throws:
java.lang.Exception

getPartitionBalancerSingletonService

public PartitionBalancerSingletonService getPartitionBalancerSingletonService()
Specified by:
getPartitionBalancerSingletonService in interface PartitionBalancerSingletonServiceHolder

getService

public java.lang.Object getService()
Specified by:
getService in interface ServiceHolder

isStarted

public boolean isStarted()
Specified by:
isStarted in interface ServiceHolder


Copyright © 2010. All Rights Reserved.