public interface IServiceDescription
extends 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
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String endpoint,
String msg)
Internal to DUCC.
|
String |
getBroker() |
Map<String,String> |
getDependencies() |
String |
getDisableReason() |
String |
getEndpoint() |
String |
getErrorString() |
Long |
getId()
This returns the Unique ID of the service as assigned by DUCC.
|
Long[] |
getImplementors()
This returns the set of DUCC Ids for all the service instances which
implement this service.
|
Integer[] |
getInstanceIds()
This returns the list of contant instance ids for multi-instance services.
|
int |
getInstances()
Internal to DUCC.
|
org.apache.uima.ducc.transport.event.common.IDuccState.JobState |
getJobState() |
long |
getLastPing() |
String |
getLastPingString() |
long |
getLastRunnable() |
String |
getLastRunnableString() |
long |
getLastUse() |
String |
getLastUseString() |
long |
getLinger()
Internal to DUCC.
|
IServiceStatistics |
getQstats() |
IServiceStatistics |
getQueueStatistics() |
Long[] |
getReferences() |
String |
getRegistrationDate() |
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 |
isAutostart() |
boolean |
isDeregistered() |
boolean |
isEnabled() |
boolean |
isReferenceStart() |
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 |
setDisableReason(String r) |
void |
setEnabled(boolean enable)
Internal to DUCC.
|
void |
setEndpoint(String endpoint)
Internal to DUCC.
|
void |
setErrorString(String s) |
void |
setId(Long id)
Internal to DUCC.
|
void |
setImplementors(ArrayList<Long> implementors,
ArrayList<Integer> instancids)
Internal to DUCC.
|
void |
setInstances(int instances) |
void |
setJobState(org.apache.uima.ducc.transport.event.common.IDuccState.JobState jobState)
Internal to DUCC.
|
void |
setLastPing(long last_ping) |
void |
setLastRunnable(long last_runnable) |
void |
setLastUse(long last_use) |
void |
setLinger(long linger) |
void |
setQstats(IServiceStatistics qstats)
Internal to DUCC.
|
void |
setQueueStatistics(IServiceStatistics qstats)
Internal to DUCC.
|
void |
setReferences(ArrayList<Long> references)
Internal to DUCC.
|
void |
setReferenceStart(boolean ref) |
void |
setRegistrationDate(String d) |
void |
setServiceState(org.apache.uima.ducc.transport.event.sm.IService.ServiceState serviceState)
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
|
Long getId()
void setId(Long id)
String getUser()
void setUser(String u)
Long[] getImplementors()
Integer[] getInstanceIds()
void setImplementors(ArrayList<Long> implementors, ArrayList<Integer> instancids)
Long[] getReferences()
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 isAutostart()
void setReferenceStart(boolean ref)
boolean isReferenceStart()
boolean isEnabled()
void setDisableReason(String r)
String getDisableReason()
void setLastUse(long last_use)
long getLastUse()
String getLastUseString()
void setLastPing(long last_ping)
long getLastPing()
String getLastPingString()
void setLastRunnable(long last_runnable)
long getLastRunnable()
String getLastRunnableString()
void setRegistrationDate(String d)
String getRegistrationDate()
String getErrorString()
void setErrorString(String s)
void setEnabled(boolean enable)
IServiceStatistics getQstats()
void setQstats(IServiceStatistics qstats)
boolean isDeregistered()
void setInstances(int instances)
int getInstances()
void setLinger(long linger)
long getLinger()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.