org.rhq.enterprise.server.core.concurrency
Class LatchedServiceController.LatchedService
java.lang.Object
org.rhq.enterprise.server.core.concurrency.LatchedServiceController.LatchedService
- All Implemented Interfaces:
- java.lang.Runnable
- Enclosing class:
- LatchedServiceController
public abstract static class LatchedServiceController.LatchedService
- extends java.lang.Object
- implements java.lang.Runnable
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LatchedServiceController.LatchedService
public LatchedServiceController.LatchedService(java.lang.String serviceName)
getServiceName
public java.lang.String getServiceName()
addDependency
public void addDependency(LatchedServiceController.LatchedService dependency)
notifyComplete
public void notifyComplete(LatchedServiceController.LatchedService finishedService,
boolean didFail)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
executeService
public abstract void executeService()
throws LatchedServiceException
- Throws:
LatchedServiceException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
hashCode
public final int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.