lumis.portal.processqueue
Class ServerQueueConfiguration

Package class diagram package ServerQueueConfiguration
java.lang.Object
  extended by lumis.portal.processqueue.ServerQueueConfiguration

public class ServerQueueConfiguration
extends Object

Entity representing the server's queue listening configuration.

Since:
6.1.0

Field Summary
static String NAMED_QUERY_FIND_CONFIGURATION_BY_SERVER_ID
          Name of named query to retrieve a server configuration by the server id.
 
Constructor Summary
ServerQueueConfiguration()
           
 
Method Summary
 String getId()
          Returns the id of the configuration.
 int getNumberOfThreads()
          Returns the number of threads that listen to the queue.
 String getServerId()
          Returns the server name/id.
 void setId(String id)
          Sets the id of the configuration.
 void setNumberOfThreads(int threads)
          Sets the number of threads that listen to the queue.
 void setServerId(String serverId)
          Sets the server name/id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMED_QUERY_FIND_CONFIGURATION_BY_SERVER_ID

public static final String NAMED_QUERY_FIND_CONFIGURATION_BY_SERVER_ID
Name of named query to retrieve a server configuration by the server id. Parameter: serverId

See Also:
Constant Field Values
Constructor Detail

ServerQueueConfiguration

public ServerQueueConfiguration()
Method Detail

getId

public String getId()
Returns the id of the configuration.

Returns:
id.
Since:
6.1.0

getServerId

public String getServerId()
Returns the server name/id. Corresponds to the serverId node in lumisportalconfig.xml.

Returns:
server id.
Since:
6.1.0

getNumberOfThreads

public int getNumberOfThreads()
Returns the number of threads that listen to the queue.

Returns:
number of threads that listen to the queue.
Since:
6.1.0

setId

public void setId(String id)
Sets the id of the configuration.

Parameters:
id - surrogate id.
Since:
6.1.0

setServerId

public void setServerId(String serverId)
Sets the server name/id. Corresponds to the serverId node in lumisportalconfig.xml.

Parameters:
serverId - for this configuration.
Since:
6.1.0

setNumberOfThreads

public void setNumberOfThreads(int threads)
Sets the number of threads that listen to the queue.

Parameters:
threads - number of threads that listen to the queue.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.