|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.ducc.cli.AServicePing
public abstract class AServicePing
Abstraction for service pinger.
Constructor Summary | |
---|---|
AServicePing()
|
Method Summary | |
---|---|
int |
countAdditions()
|
int |
countDeletions()
|
int |
countImplementors()
|
int |
countReferences()
|
int |
getRunFailures()
|
abstract IServiceStatistics |
getStatistics()
Returns the object with application-derived health and statistics. |
abstract void |
init(String arguments,
String endpoint)
Called by the ping driver, to pass in useful things the pinger may want. |
boolean |
isExcessiveFailures()
|
void |
setImplementors(int imp)
|
void |
setReferences(int ref)
|
void |
setRunFailures(int e)
|
abstract void |
stop()
Stop is called by the ping wrapper when it is being killed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AServicePing()
Method Detail |
---|
public abstract void init(String arguments, String endpoint) throws Exception
arguments
- This is passed in from the service specification's
service_ping_arguments string.endpoint
- This is the name of the service endpoint, as passed in
at service registration.
Exception
public abstract void stop()
public abstract IServiceStatistics getStatistics()
public int countAdditions()
public int countDeletions()
public int countImplementors()
public int countReferences()
public void setImplementors(int imp)
public void setReferences(int ref)
public void setRunFailures(int e)
public int getRunFailures()
public boolean isExcessiveFailures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |