Package net.grinder.console.distribution

Examples of net.grinder.console.distribution.AgentCacheState


   * @param listener listener
   * @param safe     safe mode
   */
  public void distributeFiles(ListenerSupport<FileDistributionListener> listener, final boolean safe) {
    final FileDistribution fileDistribution = getConsoleComponent(FileDistribution.class);
    final AgentCacheState agentCacheState = fileDistribution.getAgentCacheState();
    final Condition cacheStateCondition = new Condition();
    agentCacheState.addListener(new PropertyChangeListener() {
      public void propertyChange(PropertyChangeEvent ignored) {
        synchronized (cacheStateCondition) {
          cacheStateCondition.notifyAll();
        }
      }
View Full Code Here

TOP

Related Classes of net.grinder.console.distribution.AgentCacheState

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.