Package org.apache.uima.aae.monitor.statistics

Examples of org.apache.uima.aae.monitor.statistics.DelegateStats


        entry.setFreeCasEndpoint(freeCasEndpoint);
        cacheStats(inputCasReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      } else {
        cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      }
      DelegateStats stats = new DelegateStats();
      if (entry.getStat() == null) {
        entry.setStat(stats);
        // Add entry for self (this aggregate). MessageContext.getEndpointName()
        // returns the name of the queue receiving the message.
        stats.put(getController().getServiceEndpointName(), new TimerStats());
      } else {
        if (!stats.containsKey(getController().getServiceEndpointName())) {
          stats.put(getController().getServiceEndpointName(), new DelegateStats());
        }
      }
    } else {
      cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
    }
View Full Code Here


          entry.setFreeCasEndpoint(freeCasEndpoint);
          cacheStats(inputCasReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
        } else {
          cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
        }
        DelegateStats stats = new DelegateStats();
        if (entry.getStat() == null) {
          entry.setStat(stats);
          // Add entry for self (this aggregate). MessageContext.getEndpointName()
          // returns the name of the queue receiving the message.
          stats.put(getController().getServiceEndpointName(), new TimerStats());
        } else {
          if (!stats.containsKey(getController().getServiceEndpointName())) {
            stats.put(getController().getServiceEndpointName(), new DelegateStats());
          }
        }
      } else {
        cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      }
View Full Code Here

        entry.setFreeCasEndpoint(freeCasEndpoint);
        cacheStats(inputCasReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      } else {
        cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      }
      DelegateStats stats = new DelegateStats();
      if (entry.getStat() == null) {
        entry.setStat(stats);
        // Add entry for self (this aggregate). MessageContext.getEndpointName()
        // returns the name of the queue receiving the message.
        stats.put(getController().getServiceEndpointName(), new TimerStats());
      } else {
        if (!stats.containsKey(getController().getServiceEndpointName())) {
          stats.put(getController().getServiceEndpointName(), new DelegateStats());
        }
      }
    } else {
      cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
    }
View Full Code Here

            }
            //  associate this subordinate CAS with the parent CAS
            entry.setInputCasReferenceId(inputCasReferenceId);
            entry.setReplyReceived();
          }
          DelegateStats stats = new DelegateStats();
          if ( entry.getStat() == null )
          {
            entry.setStat(stats);
            //  Add entry for self (this aggregate). MessageContext.getEndpointName()
            //  returns the name of the queue receiving the message.
            stats.put(getController().getServiceEndpointName(), new TimerStats());
          }
          else
          {
            if (!stats.containsKey(getController().getServiceEndpointName()))
            {
              stats.put(getController().getServiceEndpointName(), new DelegateStats());
            }
          }
        }
       
        cacheStats( inputCasReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
View Full Code Here

          entry.setFreeCasEndpoint(freeCasEndpoint);
          cacheStats(inputCasReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
        } else {
          cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
        }
        DelegateStats stats = new DelegateStats();
        if (entry.getStat() == null) {
          entry.setStat(stats);
          // Add entry for self (this aggregate). MessageContext.getEndpointName()
          // returns the name of the queue receiving the message.
          stats.put(getController().getServiceEndpointName(), new TimerStats());
        } else {
          if (!stats.containsKey(getController().getServiceEndpointName())) {
            stats.put(getController().getServiceEndpointName(), new DelegateStats());
          }
        }
      } else {
        cacheStats(casReferenceId, timeWaitingForCAS, timeToDeserializeCAS);
      }
View Full Code Here

TOP

Related Classes of org.apache.uima.aae.monitor.statistics.DelegateStats

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.