|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.service.AbstractResinSubSystem
com.caucho.env.vote.VoteService
public class VoteService
Manages the distributed lock
Field Summary |
---|
Fields inherited from interface com.caucho.env.service.ResinSubSystem |
---|
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER |
Constructor Summary | |
---|---|
VoteService(AbstractVoteManager voteManager)
|
Method Summary | |
---|---|
static VoteService |
createAndAddService(AbstractVoteManager voteManager)
|
static VoteService |
getCurrent()
|
AbstractVoteManager |
getManager()
|
void |
start()
Starts the service. |
void |
stop()
Stops the service. |
Methods inherited from class com.caucho.env.service.AbstractResinSubSystem |
---|
destroy, getStartPriority, getStopPriority, isActive, preCreate, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VoteService(AbstractVoteManager voteManager)
Method Detail |
---|
public static VoteService createAndAddService(AbstractVoteManager voteManager)
public static VoteService getCurrent()
public AbstractVoteManager getManager()
public void start()
ResinSubSystem
start
in interface ResinSubSystem
start
in class AbstractResinSubSystem
public void stop()
ResinSubSystem
stop
in interface ResinSubSystem
stop
in class AbstractResinSubSystem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |