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

java.lang.Object
  extended by org.apache.uima.resourceSpecifier.factory.impl.RemoteDelegateEngineImpl
All Implemented Interfaces:
DelegateAnalysisEngine, RemoteDelegateEngine

public class RemoteDelegateEngineImpl
extends Object
implements RemoteDelegateEngine

The Class RemoteDelegateEngineImpl.


Constructor Summary
RemoteDelegateEngineImpl(org.apache.uima.resourceSpecifier.RemoteAnalysisEngineType draet, RemoteDelegateConfiguration rdc, ServiceContext context)
          Instantiates a new remote delegate engine impl.
 
Method Summary
 CasMultiplier getCasMultiplier()
          Gets the cas multiplier.
 DelegateConfiguration getConfiguration()
          Gets the configuration.
 RemoteDelegateErrorConfiguration getErrorConfiguration()
          Gets the error configuration.
 InputQueue getInputQueue()
          Gets the input queue.
 String getKey()
          Gets the key.
 int getReplyQueueScaleup()
          Gets the reply queue scaleup.
 SerializationStrategy getSerializationStrategy()
          Gets the serialization strategy.
 boolean isAggregate()
          Checks if is aggregate.
 boolean isRemote()
          Checks if is remote.
 void setCasMultiplier(CasMultiplier cm)
          Sets the cas multiplier.
 void setInputQueue(InputQueue iq)
          Sets the input queue.
 void setKey(String key)
          Sets the key.
 void setRemoteDelegateErrorConfiguration(RemoteDelegateErrorConfiguration er)
          Sets the remote delegate error configuration.
 void setReplyQueueScaleup(int remoteReplyQueueScaleout)
          Sets the reply queue scaleup.
 void setSerializationStrategy(SerializationStrategy ss)
          Sets the serialization strategy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteDelegateEngineImpl

public RemoteDelegateEngineImpl(org.apache.uima.resourceSpecifier.RemoteAnalysisEngineType draet,
                                RemoteDelegateConfiguration rdc,
                                ServiceContext context)
Instantiates a new remote delegate engine impl.

Parameters:
draet - the draet
rdc - the rdc
context - the context
Method Detail

getConfiguration

public DelegateConfiguration getConfiguration()
Description copied from interface: DelegateAnalysisEngine
Gets the configuration.

Specified by:
getConfiguration in interface DelegateAnalysisEngine
Returns:
the configuration

getKey

public String getKey()
Description copied from interface: DelegateAnalysisEngine
Gets the key.

Specified by:
getKey in interface DelegateAnalysisEngine
Returns:
the key

setKey

public void setKey(String key)
Description copied from interface: DelegateAnalysisEngine
Sets the key.

Specified by:
setKey in interface DelegateAnalysisEngine
Parameters:
key - the new key

getReplyQueueScaleup

public int getReplyQueueScaleup()
Description copied from interface: DelegateAnalysisEngine
Gets the reply queue scaleup.

Specified by:
getReplyQueueScaleup in interface DelegateAnalysisEngine
Returns:
the reply queue scaleup

setReplyQueueScaleup

public void setReplyQueueScaleup(int remoteReplyQueueScaleout)
Description copied from interface: DelegateAnalysisEngine
Sets the reply queue scaleup.

Specified by:
setReplyQueueScaleup in interface DelegateAnalysisEngine
Parameters:
remoteReplyQueueScaleout - the new reply queue scaleup

getCasMultiplier

public CasMultiplier getCasMultiplier()
Description copied from interface: DelegateAnalysisEngine
Gets the cas multiplier.

Specified by:
getCasMultiplier in interface DelegateAnalysisEngine
Returns:
the cas multiplier

setCasMultiplier

public void setCasMultiplier(CasMultiplier cm)
Description copied from interface: DelegateAnalysisEngine
Sets the cas multiplier.

Specified by:
setCasMultiplier in interface DelegateAnalysisEngine
Parameters:
cm - the new cas multiplier

getInputQueue

public InputQueue getInputQueue()
Description copied from interface: RemoteDelegateEngine
Gets the input queue.

Specified by:
getInputQueue in interface RemoteDelegateEngine
Returns:
the input queue

setInputQueue

public void setInputQueue(InputQueue iq)
Description copied from interface: RemoteDelegateEngine
Sets the input queue.

Specified by:
setInputQueue in interface RemoteDelegateEngine
Parameters:
iq - the new input queue

getSerializationStrategy

public SerializationStrategy getSerializationStrategy()
Description copied from interface: RemoteDelegateEngine
Gets the serialization strategy.

Specified by:
getSerializationStrategy in interface RemoteDelegateEngine
Returns:
the serialization strategy

setSerializationStrategy

public void setSerializationStrategy(SerializationStrategy ss)
Description copied from interface: RemoteDelegateEngine
Sets the serialization strategy.

Specified by:
setSerializationStrategy in interface RemoteDelegateEngine
Parameters:
ss - the new serialization strategy

getErrorConfiguration

public RemoteDelegateErrorConfiguration getErrorConfiguration()
Description copied from interface: RemoteDelegateEngine
Gets the error configuration.

Specified by:
getErrorConfiguration in interface RemoteDelegateEngine
Returns:
the error configuration

setRemoteDelegateErrorConfiguration

public void setRemoteDelegateErrorConfiguration(RemoteDelegateErrorConfiguration er)
Description copied from interface: RemoteDelegateEngine
Sets the remote delegate error configuration.

Specified by:
setRemoteDelegateErrorConfiguration in interface RemoteDelegateEngine
Parameters:
er - the new remote delegate error configuration

isRemote

public boolean isRemote()
Description copied from interface: DelegateAnalysisEngine
Checks if is remote.

Specified by:
isRemote in interface DelegateAnalysisEngine
Returns:
true, if is remote

isAggregate

public boolean isAggregate()
Description copied from interface: DelegateAnalysisEngine
Checks if is aggregate.

Specified by:
isAggregate in interface DelegateAnalysisEngine
Returns:
true, if is aggregate


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