public class InputQueueImpl extends Object implements InputQueue
Constructor and Description |
---|
InputQueueImpl(org.apache.uima.resourceSpecifier.InputQueueType iqt,
ServiceContext context)
Instantiates a new input queue impl.
|
InputQueueImpl(org.apache.uima.resourceSpecifier.InputQueueType iqt,
String endpoint,
String brokerURL,
int prefetch)
Instantiates a new input queue impl.
|
Modifier and Type | Method and Description |
---|---|
String |
getBroker()
Gets the broker.
|
String |
getEndpoint()
Gets the endpoint.
|
int |
getPrefetch()
Gets the prefetch.
|
void |
setBroker(String broker)
Sets the broker.
|
void |
setEndpoint(String endpoint)
Sets the endpoint.
|
void |
setPrefetch(int prefetch)
Sets the prefetch.
|
public InputQueueImpl(org.apache.uima.resourceSpecifier.InputQueueType iqt, String endpoint, String brokerURL, int prefetch)
iqt
- the iqtendpoint
- the endpointbrokerURL
- the broker urlprefetch
- the prefetchpublic InputQueueImpl(org.apache.uima.resourceSpecifier.InputQueueType iqt, ServiceContext context)
iqt
- the iqtcontext
- the contextpublic String getEndpoint()
InputQueue
getEndpoint
in interface InputQueue
public void setEndpoint(String endpoint)
InputQueue
setEndpoint
in interface InputQueue
endpoint
- the new endpointpublic String getBroker()
InputQueue
getBroker
in interface InputQueue
public void setBroker(String broker)
InputQueue
setBroker
in interface InputQueue
broker
- the new brokerpublic void setPrefetch(int prefetch)
InputQueue
setPrefetch
in interface InputQueue
prefetch
- the new prefetchpublic int getPrefetch()
InputQueue
getPrefetch
in interface InputQueue
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.