com.bigdata.jini.start
Class RestartPersistentServices
java.lang.Object
com.bigdata.jini.start.RestartPersistentServices
- All Implemented Interfaces:
- Callable<Boolean>
public class RestartPersistentServices
- extends Object
- implements Callable<Boolean>
Task restarts persistent physical services that should be running on this
host but which are not discoverable using jini (not found when we query for
their ServiceID) and apparently disconnected from zookeeper (their
ephemeral znode is not found in the BigdataZooDefs.MASTER_ELECTION
container). Service restarts are logged. An error is logged if a service can
not be restarted. It is an error if the ZooKeeper client is not
connected. It is an error if no ServiceRegistrars are joined.
- Version:
- $Id$
- Author:
- Bryan Thompson
|
Method Summary |
Boolean |
call()
Runs until all services are running. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
fed
protected final JiniFederation fed
RestartPersistentServices
public RestartPersistentServices(JiniFederation fed,
MonitorCreatePhysicalServiceLocksTask monitorCreatePhysicalServiceLocksTask)
call
public Boolean call()
throws Exception
- Runs until all services are running.
- Specified by:
call in interface Callable<Boolean>
- Throws:
Exception
Copyright © 2006-2012 SYSTAP, LLC. All Rights Reserved.