org.codehaus.wadi.location.balancing
Class BasicPartitionBalancerSingletonServiceHolder
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPartitionBalancerSingletonServiceHolder
public BasicPartitionBalancerSingletonServiceHolder(SingletonServiceHolder delegate)
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.