Nitido Inc.

com.nitido.nimx.services.dirpool.mozilla
Class DirPoolStatus

java.lang.Object
  extended by com.nitido.nimx.services.dirpool.mozilla.DirPoolStatus

public class DirPoolStatus
extends java.lang.Object

The DirPoolStatus data object contains the status data associated to a specific pool.


Field Summary
 java.lang.String _host
          The hostname of the directory server used by the pool.
 int _maxSize
          The maximum size of the connection pool.
 int _minSize
          The initial minimum size of the connection pool.
 java.lang.String _name
          The pool's name.
 int _obtained
          The number of connections that has been obtained by the application.
 int _port
          The port of the directory server used by the pool.
 int _reserved
          The number of connections that has been reserved by the application.
 int _throttle
           
 int _timeLimit
          The time limit of the pool.
 long _timestamp
          The timestamp when the connection pool will expired.
 
Constructor Summary
DirPoolStatus(java.lang.String name, java.lang.String host, int port, long timestamp, int timeLimit, int reserved, int obtained, int minSize, int maxSize, int throttle)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_name

public final java.lang.String _name
The pool's name. This is the name that the application used to get the connection from the DirPoolService.


_host

public final java.lang.String _host
The hostname of the directory server used by the pool.


_port

public final int _port
The port of the directory server used by the pool.


_timestamp

public final long _timestamp
The timestamp when the connection pool will expired. If the auto reset pool option is enabled, this will be storing the expiry time. Otherwise, it will store the creation time. In combination with the _name field, it uniquely identify the DirPool object instance.


_timeLimit

public final int _timeLimit
The time limit of the pool.


_reserved

public final int _reserved
The number of connections that has been reserved by the application. (This is usually the number of threads that has been blocked waiting for connection plus the number of connections that are already obtained by the application.)


_obtained

public final int _obtained
The number of connections that has been obtained by the application. (This is the number of requests that actually have obtained and using a connection.)


_minSize

public final int _minSize
The initial minimum size of the connection pool.


_maxSize

public final int _maxSize
The maximum size of the connection pool.


_throttle

public final int _throttle
Constructor Detail

DirPoolStatus

public DirPoolStatus(java.lang.String name,
                     java.lang.String host,
                     int port,
                     long timestamp,
                     int timeLimit,
                     int reserved,
                     int obtained,
                     int minSize,
                     int maxSize,
                     int throttle)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Nitido NiM 2.5 Java API

These JavaDoc pages are generated for release/nim_2_5-2.5.44

Copyright © 1999-2009 Nitido Inc.    Proprietary and Confidential.    All Rights Reserved.