Package com.caucho.util

Examples of com.caucho.util.WeakAlarm


    String name = hostName + contextPath;

    if (_distributionId == null)
      _distributionId = name;

    _alarm = new WeakAlarm(this);
    _sessionSaveSample
      = MeterService.createAverageMeter("Resin|Http|Session Save", "Size");

    _admin = new SessionManagerAdmin(this);
  }
View Full Code Here


      _archiveFormat = _rolloverPrefix + ".%Y%m%d.%H%M";

    rolloverLog();
   
    _rolloverListener = new RolloverAlarm();
    _rolloverAlarm = new WeakAlarm(_rolloverListener);
   
    if (_nextPeriodEnd < 0 || nextDay < _nextPeriodEnd) {
      _rolloverAlarm.queue(DEFAULT_ROLLOVER_CHECK_PERIOD);
    }
    else if (_nextPeriodEnd <= now) {
View Full Code Here

   
    _id = id;

    _containerRootDirectory = containerRootDirectory;

    _alarm = new WeakAlarm(this);

    _checkInterval = Environment.getDependencyCheckInterval();
   
    _cronInterval = Environment.getDependencyCheckInterval();
    if (_cronInterval < MIN_CRON_INTERVAL)
View Full Code Here

    _idleTime = ProbeManager.createActiveTimeProbe("Resin|Database|Idle");
    _activeTime = ProbeManager.createActiveTimeProbe("Resin|Database|Active");

    registerSelf();

    _alarm = new WeakAlarm(this);

    if (! (mcf instanceof ValidatingManagedConnectionFactory)) {
      // never check
      _lastValidCheckTime = Long.MAX_VALUE / 2;
    }
View Full Code Here

  {
    super(container);

    _containerRootDirectory = containerRootDirectory;

    _alarm = new WeakAlarm(this);

    _cronInterval = Environment.getDependencyCheckInterval();
    if (_cronInterval < MIN_CRON_INTERVAL)
      _cronInterval = MIN_CRON_INTERVAL;
View Full Code Here

    String name = hostName + contextPath;

    if (_distributionId == null)
      _distributionId = name;

    _alarm = new WeakAlarm(this);
    _sessionSaveSample
      = ProbeManager.createAverageProbe("Resin|WebApp|Session Save", "Size");

    _admin = new SessionManagerAdmin(this);
  }
View Full Code Here

    else
      _archiveFormat = _rolloverPrefix + ".%Y%m%d.%H%M";

    rolloverLog();
   
    _rolloverAlarm = new WeakAlarm(new RolloverAlarm());
   
    if (_nextPeriodEnd > 0 && _nextPeriodEnd < nextDay) {
      _rolloverAlarm.queueAt(_nextPeriodEnd);
    }
    else {
View Full Code Here

TOP

Related Classes of com.caucho.util.WeakAlarm

Copyright © 2018 www.massapicom. 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.