Examples of ExpirationHashtable


Examples of org.openbp.common.util.ExpirationHashtable

  {
    // Determine timeout from the settings
    long timeout = SettingUtil.getIntSetting(ServerConstants.SYSPROP_CLIENTSESSION_TIMEOUT, 24 * 60 * 60);

    // Initialize session table.
    sessions = new ExpirationHashtable(timeout * 1000);
  }
 
View Full Code Here

Examples of org.openbp.common.util.ExpirationHashtable

   * Private constructor.
   */
  public SessionRegistryImpl()
  {
    // Initialize session context map with a timeout of 10 x one hour.
    contextMap = new ExpirationHashtable(0);

    // Add a disposal listener for the hashtable.
    contextMap.setDisposalListener(this);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.