|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.uima.resourceSpecifier.factory.impl.ServiceContextImpl
public class ServiceContextImpl
The Class ServiceContextImpl.
Constructor Summary | |
---|---|
ServiceContextImpl(String name,
String description,
String descriptor,
String endpoint)
This class describes UIMA AS service. |
|
ServiceContextImpl(String name,
String description,
String descriptor,
String endpoint,
String brokerURL)
|
Method Summary | |
---|---|
String |
getBrokerURL()
Gets the broker url. |
int |
getCasPoolSize()
Gets the cas pool size. |
Action |
getCpCAdditionalAction()
Gets the cp c additional action. |
String |
getDescription()
Gets the description. |
String |
getDescriptor()
Gets the descriptor. |
String |
getEndpoint()
Gets the endpoint. |
int |
getInitialHeapSize()
Gets the initial heap size. |
String |
getName()
Gets the name. |
int |
getPrefetch()
Gets the prefetch. |
Action |
getProcessErrorThresholdAction()
Gets the process error threshold action. |
int |
getProcessErrorThresholdCount()
Gets the process error threshold count. |
int |
getProcessErrorThresholdWindow()
Gets the process error threshold window. |
String |
getProtocol()
Gets the protocol. |
String |
getProvider()
Gets the provider. |
int |
getScaleup()
Gets the scaleup. |
boolean |
isAggregate()
Checks if is aggregate. |
boolean |
isAsync()
Checks if is async. |
boolean |
isCasMultiplier()
Checks if is cas multiplier. |
boolean |
processParentLast()
Process parent last. |
void |
setAggregate(boolean aggregate)
Sets the aggregate. |
void |
setAsync(boolean async)
Sets the async. |
void |
setBrokerURL(String brokerURL)
Sets the broker url. |
void |
setCasMultiplier(boolean casMultiplier)
Sets the cas multiplier. |
void |
setCasPoolSize(int casPoolSize)
Sets the cas pool size. |
void |
setCpCAdditionalAction(Action action)
Sets the cp c additional action. |
void |
setDescription(String description)
Sets the description. |
void |
setDescriptor(String descriptor)
Sets the descriptor. |
void |
setEndpoint(String endpoint)
Sets the endpoint. |
void |
setInitialHeapSize(int initialHeapSize)
Sets the initial heap size. |
void |
setName(String name)
Sets the name. |
void |
setPrefetch(int prefetch)
Sets the prefetch. |
void |
setProcessErrorThresholdAction(Action action)
Sets the process error threshold action. |
void |
setProcessErrorThresholdCount(int thresholdCount)
Sets the process error threshold count. |
void |
setProcessErrorThresholdWindow(int thresholdWindow)
Sets the process error threshold window. |
void |
setProcessParentLast(boolean processParentLast)
Sets the process parent last. |
void |
setProtocol(String protocol)
Sets the protocol. |
void |
setProvider(String provider)
Sets the provider. |
void |
setScaleup(int scaleUp)
Sets the scaleup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceContextImpl(String name, String description, String descriptor, String endpoint)
name
- - service namedescription
- - service descriptiondescriptor
- - analysis engine descriptorendpoint
- - the name of of the service input queuepublic ServiceContextImpl(String name, String description, String descriptor, String endpoint, String brokerURL)
Method Detail |
---|
public void setName(String name)
ServiceContext
setName
in interface ServiceContext
name
- the new namepublic String getName()
ServiceContext
getName
in interface ServiceContext
public void setDescription(String description)
ServiceContext
setDescription
in interface ServiceContext
description
- the new descriptionpublic String getDescription()
ServiceContext
getDescription
in interface ServiceContext
public void setDescriptor(String descriptor)
ServiceContext
setDescriptor
in interface ServiceContext
descriptor
- the new descriptorpublic String getDescriptor()
ServiceContext
getDescriptor
in interface ServiceContext
public void setProtocol(String protocol)
ServiceContext
setProtocol
in interface ServiceContext
protocol
- the new protocolpublic String getProtocol()
ServiceContext
getProtocol
in interface ServiceContext
public void setProvider(String provider)
ServiceContext
setProvider
in interface ServiceContext
provider
- the new providerpublic String getProvider()
ServiceContext
getProvider
in interface ServiceContext
public void setEndpoint(String endpoint)
ServiceContext
setEndpoint
in interface ServiceContext
endpoint
- the new endpointpublic String getEndpoint()
ServiceContext
getEndpoint
in interface ServiceContext
public void setBrokerURL(String brokerURL)
ServiceContext
setBrokerURL
in interface ServiceContext
brokerURL
- the new broker urlpublic String getBrokerURL()
ServiceContext
getBrokerURL
in interface ServiceContext
public void setPrefetch(int prefetch)
ServiceContext
setPrefetch
in interface ServiceContext
prefetch
- the new prefetchpublic int getPrefetch()
ServiceContext
getPrefetch
in interface ServiceContext
public void setScaleup(int scaleUp)
ServiceContext
setScaleup
in interface ServiceContext
scaleUp
- the new scaleuppublic int getScaleup()
ServiceContext
getScaleup
in interface ServiceContext
public void setCasMultiplier(boolean casMultiplier)
ServiceContext
setCasMultiplier
in interface ServiceContext
casMultiplier
- the new cas multiplierpublic boolean isCasMultiplier()
ServiceContext
isCasMultiplier
in interface ServiceContext
public void setAggregate(boolean aggregate)
ServiceContext
setAggregate
in interface ServiceContext
aggregate
- the new aggregatepublic boolean isAggregate()
ServiceContext
isAggregate
in interface ServiceContext
public void setCasPoolSize(int casPoolSize)
ServiceContext
setCasPoolSize
in interface ServiceContext
casPoolSize
- the new cas pool sizepublic int getCasPoolSize()
ServiceContext
getCasPoolSize
in interface ServiceContext
public void setInitialHeapSize(int initialHeapSize)
ServiceContext
setInitialHeapSize
in interface ServiceContext
initialHeapSize
- the new initial heap sizepublic int getInitialHeapSize()
ServiceContext
getInitialHeapSize
in interface ServiceContext
public void setProcessParentLast(boolean processParentLast)
ServiceContext
setProcessParentLast
in interface ServiceContext
processParentLast
- the new process parent lastpublic boolean processParentLast()
ServiceContext
processParentLast
in interface ServiceContext
public void setProcessErrorThresholdCount(int thresholdCount)
ServiceContext
setProcessErrorThresholdCount
in interface ServiceContext
thresholdCount
- the new process error threshold countpublic int getProcessErrorThresholdCount()
ServiceContext
getProcessErrorThresholdCount
in interface ServiceContext
public void setProcessErrorThresholdWindow(int thresholdWindow)
ServiceContext
setProcessErrorThresholdWindow
in interface ServiceContext
thresholdWindow
- the new process error threshold windowpublic int getProcessErrorThresholdWindow()
ServiceContext
getProcessErrorThresholdWindow
in interface ServiceContext
public void setProcessErrorThresholdAction(Action action)
ServiceContext
setProcessErrorThresholdAction
in interface ServiceContext
action
- the new process error threshold actionpublic Action getProcessErrorThresholdAction()
ServiceContext
getProcessErrorThresholdAction
in interface ServiceContext
public void setCpCAdditionalAction(Action action)
ServiceContext
setCpCAdditionalAction
in interface ServiceContext
action
- the new cp c additional actionpublic Action getCpCAdditionalAction()
ServiceContext
getCpCAdditionalAction
in interface ServiceContext
public void setAsync(boolean async)
ServiceContext
setAsync
in interface ServiceContext
async
- the new asyncpublic boolean isAsync()
ServiceContext
isAsync
in interface ServiceContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |