|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceDescription
This interface defines the information returned in response to service query events. All the 'set' methods are used only by the ServiceManager; they have useful no effect if invoked in any other context.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.uima.ducc.transport.event.sm.IService |
---|
org.apache.uima.ducc.transport.event.sm.IService.ServiceClass, org.apache.uima.ducc.transport.event.sm.IService.ServiceState, org.apache.uima.ducc.transport.event.sm.IService.ServiceType, org.apache.uima.ducc.transport.event.sm.IService.Trinary |
Field Summary |
---|
Fields inherited from interface org.apache.uima.ducc.transport.event.sm.IService |
---|
NULL |
Method Summary | |
---|---|
void |
addDependency(String endpoint,
String msg)
Internal to DUCC. |
String |
getBroker()
|
Map<String,String> |
getDependencies()
|
String |
getEndpoint()
|
ADuccId |
getId()
This returns the Unique ID of the service as assigned by DUCC. |
ArrayList<ADuccId> |
getImplementors()
This returns the set of DUCC Ids for all the service instances which implement this service. |
int |
getInstances()
Internal to DUCC. |
org.apache.uima.ducc.transport.event.common.IDuccState.JobState |
getJobState()
|
long |
getLinger()
Internal to DUCC. |
IServiceStatistics |
getQstats()
|
IServiceStatistics |
getQueueStatistics()
|
ArrayList<ADuccId> |
getReferences()
|
org.apache.uima.ducc.transport.event.sm.IService.ServiceState |
getServiceState()
|
org.apache.uima.ducc.transport.event.sm.IService.ServiceClass |
getSubclass()
|
org.apache.uima.ducc.transport.event.sm.IService.ServiceType |
getType()
|
String |
getUser()
Get the owner of the service |
boolean |
isActive()
|
boolean |
isDeregistered()
|
boolean |
isStopped()
|
void |
setActive(boolean active)
Internal to DUCC. |
void |
setAutostart(boolean autostart)
Internal to DUCC. |
void |
setBroker(String broker)
Internal to DUCC. |
void |
setDeregistered(boolean d)
|
void |
setEndpoint(String endpoint)
Internal to DUCC. |
void |
setId(ADuccId id)
Internal to DUCC. |
void |
setImplementors(ArrayList<ADuccId> implementors)
Internal to DUCC. |
void |
setInstances(int instances)
|
void |
setJobState(org.apache.uima.ducc.transport.event.common.IDuccState.JobState jobState)
Internal to DUCC. |
void |
setLinger(long linger)
|
void |
setQstats(IServiceStatistics qstats)
Internal to DUCC. |
void |
setQueueStatistics(IServiceStatistics qstats)
Internal to DUCC. |
void |
setReferences(ArrayList<ADuccId> references)
Internal to DUCC. |
void |
setServiceState(org.apache.uima.ducc.transport.event.sm.IService.ServiceState serviceState)
Internal to DUCC. |
void |
setStopped(boolean stopped)
Internal to DUCC. |
void |
setSubclass(org.apache.uima.ducc.transport.event.sm.IService.ServiceClass subclass)
Internal to DUCC. |
void |
setType(org.apache.uima.ducc.transport.event.sm.IService.ServiceType type)
Internal to DUCC. |
void |
setUser(String u)
Set the owner of the service |
Method Detail |
---|
ADuccId getId()
void setId(ADuccId id)
String getUser()
void setUser(String u)
ArrayList<ADuccId> getImplementors()
void setImplementors(ArrayList<ADuccId> implementors)
ArrayList<ADuccId> getReferences()
void setReferences(ArrayList<ADuccId> references)
org.apache.uima.ducc.transport.event.sm.IService.ServiceType getType()
void setType(org.apache.uima.ducc.transport.event.sm.IService.ServiceType type)
org.apache.uima.ducc.transport.event.sm.IService.ServiceClass getSubclass()
void setSubclass(org.apache.uima.ducc.transport.event.sm.IService.ServiceClass subclass)
String getEndpoint()
void setEndpoint(String endpoint)
String getBroker()
void setBroker(String broker)
org.apache.uima.ducc.transport.event.sm.IService.ServiceState getServiceState()
void setServiceState(org.apache.uima.ducc.transport.event.sm.IService.ServiceState serviceState)
org.apache.uima.ducc.transport.event.common.IDuccState.JobState getJobState()
void setJobState(org.apache.uima.ducc.transport.event.common.IDuccState.JobState jobState)
boolean isActive()
void setActive(boolean active)
void setDeregistered(boolean d)
void setQueueStatistics(IServiceStatistics qstats)
IServiceStatistics getQueueStatistics()
void setAutostart(boolean autostart)
boolean isStopped()
void setStopped(boolean stopped)
IServiceStatistics getQstats()
void setQstats(IServiceStatistics qstats)
boolean isDeregistered()
void setInstances(int instances)
int getInstances()
void setLinger(long linger)
long getLinger()
void addDependency(String endpoint, String msg)
Map<String,String> getDependencies()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |