Package com.sun.appserv.util.cache

Examples of com.sun.appserv.util.cache.BaseCache.keys()


        }
        BaseCache replicatedDialogFragmentsCache = getReplicatedDialogFragments();
        ReplicationHealthChecker healthChecker
                = ReplicationHealthChecker.getInstance();
        int expiredReplicas = 0;
        for (Iterator it = replicatedDialogFragmentsCache.keys(); it.hasNext();) {
            ReplicationState nextState = (ReplicationState)
                    replicatedDialogFragmentsCache.get((String) it.next());
            if (!ExpatListHandler.isExpatExtraDurationInEffect()
                    && !ExpatListHandler.isExpatInProgress()
                    && isExpiredDialogFragmentReplica(nextState)) {
View Full Code Here


              _logger.fine("in " + this.getClass().getName() + ">>processExpiredSipApplicationSessionReplicas");
          }

          int expiredReplicas = 0;
          BaseCache replicatedSipAppSessionsCache = getReplicatedSipApplicationSessions();
          for(Iterator it = replicatedSipAppSessionsCache.keys(); it.hasNext();) {
              ReplicationState nextState = (ReplicationState)
                  replicatedSipAppSessionsCache.get((String) it.next());
              if (nextState != null) {
                  if(_logger.isLoggable(Level.FINE)) {
                      _logger.fine("in " + this.getClass().getName() +
View Full Code Here

        if(_logger.isLoggable(Level.FINE)) {
            _logger.fine("in " + this.getClass().getName() + ">>processExpiredSipSessionReplicas");           
        }
        int expiredReplicas = 0;
        BaseCache replicatedSipSessionsCache = getReplicatedSipSessions();
        for(Iterator it = replicatedSipSessionsCache.keys(); it.hasNext();) {
            ReplicationState nextState = (ReplicationState)
                replicatedSipSessionsCache.get((String) it.next());
            if (nextState != null) {
                if(_logger.isLoggable(Level.FINE)) {
                    _logger.fine("in " + this.getClass().getName() +
View Full Code Here

            _logger.fine("in " + this.getClass().getName() + ">>processExpiredSipSessionReplicas");
        }
        Collection<SipSessionExtraParams> result = new
                LinkedList<SipSessionExtraParams>();
        BaseCache replicatedSipSessionsCache = getReplicatedSipSessions();
        for(Iterator it = replicatedSipSessionsCache.keys(); it.hasNext();) {
            ReplicationState nextState = (ReplicationState)
                replicatedSipSessionsCache.get((String) it.next());
            if (nextState != null) {
                if(_logger.isLoggable(Level.FINE)) {
                    _logger.fine("in " + this.getClass().getName() +
View Full Code Here

        if(_logger.isLoggable(Level.FINE)) {
            _logger.fine("in " + this.getClass().getName() + ">>processExpiredServletTimerReplicas");           
        }
        int expiredReplicas = 0;
        BaseCache replicatedServletTimersCache = getReplicatedServletTimers();
        for (Iterator it = replicatedServletTimersCache.keys(); it.hasNext();) {
            ReplicationState nextState = (ReplicationState)
                replicatedServletTimersCache.get((String) it.next());
            if (nextState != null) {
                if(_logger.isLoggable(Level.FINE)) {
                    _logger.fine("in " + this.getClass().getName() +
View Full Code Here

        if (_logger.isLoggable(Level.FINE)) {
            _logger.fine("in " + this.getClass().getName() + ">>processExpiredServletTimerReplicas");
        }
        int expiredReplicas = 0;
        BaseCache replicatedServletTimersCache = getReplicatedServletTimers();
        for (Iterator it = replicatedServletTimersCache.keys(); it.hasNext();) {
            ReplicationState nextState = (ReplicationState)
                    replicatedServletTimersCache.get((String) it.next());
            if (nextState != null) {
                if (_logger.isLoggable(Level.FINE)) {
                    _logger.fine("in " + this.getClass().getName() +
View Full Code Here

    private String[] getSessionIds() {
        BaseCache mainStoreCachedSessions = this.getMainStoreCache();
        String[] ids = null;
        int numberOfIds = mainStoreCachedSessions.getEntryCount();
        ArrayList idsList = new ArrayList(numberOfIds);
        Iterator keysIter = mainStoreCachedSessions.keys();
        while(keysIter.hasNext()) {
            //String nextKey = (String)keysIter.next();
            idsList.add((String)keysIter.next());
        }
        String[] template = new String[idsList.size()];
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.