org.apache.uima.resourceSpecifier.factory.impl
Class RemoteDelegateConfigurationImpl

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.DelegateConfigurationImpl
      extended by org.apache.uima.resourceSpecifier.factory.impl.RemoteDelegateConfigurationImpl
All Implemented Interfaces:
DelegateConfiguration, RemoteDelegateConfiguration

public class RemoteDelegateConfigurationImpl
extends DelegateConfigurationImpl
implements RemoteDelegateConfiguration

The Class RemoteDelegateConfigurationImpl.


Constructor Summary
RemoteDelegateConfigurationImpl(String key, String brokerURL, String endpoint, SerializationStrategy ser, ErrorHandlingSettings... errorHandlingSettings)
          Instantiates a new remote delegate configuration impl.
 
Method Summary
 String getBroker()
          Gets the broker.
 String getEndpoint()
          Gets the endpoint.
 int getPrefetch()
          Gets the prefetch.
 int getRemoteReplyQueueScaleout()
          Gets the remote reply queue scaleout.
 SerializationStrategy getSerialization()
          Gets the serialization.
 void setBroker(String brokerURL)
          Sets the broker.
 void setEndpoint(String endpoint)
          Sets the endpoint.
 void setPrefetch(int prefetch)
          Sets the prefetch.
 void setRemoteReplyQueueScaleout(int scaleup)
          Sets the remote reply queue scaleout.
 void setSerialization(SerializationStrategy ser)
          Sets the serialization.
 
Methods inherited from class org.apache.uima.resourceSpecifier.factory.impl.DelegateConfigurationImpl
getCasPoolSize, getCollectionProcessCompleteErrorHandlingSettings, getGetMetaErrorHandlingSettings, getInitialHeapSize, getKey, getProcessErrorHandlingSettings, isCasMultiplier, isRemote, processParentLast, setCasMultiplier, setCasPoolSize, setCollectionProcessCompleteErrorHandlingSettings, setGetMetaErrorHandlingSettings, setInitialHeapSize, setKey, setProcessErrorHandlingSettings, setProcessParentLast, setRemote
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resourceSpecifier.factory.DelegateConfiguration
getCasPoolSize, getCollectionProcessCompleteErrorHandlingSettings, getGetMetaErrorHandlingSettings, getInitialHeapSize, getKey, getProcessErrorHandlingSettings, isCasMultiplier, isRemote, processParentLast, setCasMultiplier, setCasPoolSize, setCollectionProcessCompleteErrorHandlingSettings, setGetMetaErrorHandlingSettings, setInitialHeapSize, setKey, setProcessErrorHandlingSettings, setProcessParentLast, setRemote
 

Constructor Detail

RemoteDelegateConfigurationImpl

public RemoteDelegateConfigurationImpl(String key,
                                       String brokerURL,
                                       String endpoint,
                                       SerializationStrategy ser,
                                       ErrorHandlingSettings... errorHandlingSettings)
Instantiates a new remote delegate configuration impl.

Parameters:
key - the key
brokerURL - the broker url
endpoint - the endpoint
ser - the ser
errorHandlingSettings - the error handling settings
Method Detail

setBroker

public void setBroker(String brokerURL)
Description copied from interface: RemoteDelegateConfiguration
Sets the broker.

Specified by:
setBroker in interface RemoteDelegateConfiguration
Parameters:
brokerURL - the new broker

getBroker

public String getBroker()
Description copied from interface: RemoteDelegateConfiguration
Gets the broker.

Specified by:
getBroker in interface RemoteDelegateConfiguration
Returns:
the broker

setEndpoint

public void setEndpoint(String endpoint)
Description copied from interface: RemoteDelegateConfiguration
Sets the endpoint.

Specified by:
setEndpoint in interface RemoteDelegateConfiguration
Parameters:
endpoint - the new endpoint

getEndpoint

public String getEndpoint()
Description copied from interface: RemoteDelegateConfiguration
Gets the endpoint.

Specified by:
getEndpoint in interface RemoteDelegateConfiguration
Returns:
the endpoint

setSerialization

public void setSerialization(SerializationStrategy ser)
Description copied from interface: RemoteDelegateConfiguration
Sets the serialization.

Specified by:
setSerialization in interface RemoteDelegateConfiguration
Parameters:
ser - the new serialization

getSerialization

public SerializationStrategy getSerialization()
Description copied from interface: RemoteDelegateConfiguration
Gets the serialization.

Specified by:
getSerialization in interface RemoteDelegateConfiguration
Returns:
the serialization

setRemoteReplyQueueScaleout

public void setRemoteReplyQueueScaleout(int scaleup)
Description copied from interface: RemoteDelegateConfiguration
Sets the remote reply queue scaleout.

Specified by:
setRemoteReplyQueueScaleout in interface RemoteDelegateConfiguration
Parameters:
scaleup - the new remote reply queue scaleout

getRemoteReplyQueueScaleout

public int getRemoteReplyQueueScaleout()
Description copied from interface: RemoteDelegateConfiguration
Gets the remote reply queue scaleout.

Specified by:
getRemoteReplyQueueScaleout in interface RemoteDelegateConfiguration
Returns:
the remote reply queue scaleout

setPrefetch

public void setPrefetch(int prefetch)
Description copied from interface: RemoteDelegateConfiguration
Sets the prefetch.

Specified by:
setPrefetch in interface RemoteDelegateConfiguration
Parameters:
prefetch - the new prefetch

getPrefetch

public int getPrefetch()
Description copied from interface: RemoteDelegateConfiguration
Gets the prefetch.

Specified by:
getPrefetch in interface RemoteDelegateConfiguration
Returns:
the prefetch


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.