Examples of stop()


Examples of ch.qos.logback.core.Appender.stop()

    }
    lastCheck = now;
    while (head.value != null && isEntryStale(head,now)) {
      Appender appender = head.value;
      //System.out.println("  stopping "+appender);
      appender.stop();
      removeHead();
    }
  }

  public List<String> keyList() {
View Full Code Here

Examples of ch.qos.logback.core.ContextBase.stop()

    addInfo("Logback context being closed via shutdown hook");

    Context hookContext = getContext();
    if (hookContext instanceof ContextBase) {
      ContextBase context = (ContextBase) hookContext;
      context.stop();
    }
  }
}
View Full Code Here

Examples of ch.tatool.exec.PhaseRunnable.stop()

       
        // stop currently running phase executable
        PhaseRunnable phaseRunnable = currentPhaseExecutable;
        if (phaseRunnable != null) {
          logger.info("stopping current phase executable " + phaseRunnable.toString());
          phaseRunnable.stop();
        }
    }
   
    // Helper methods
   
View Full Code Here

Examples of ch.usi.dslab.bezerra.netwrapper.tcp.TCPReceiver.stop()

      TCPMessage msg2 = receiver.receive();
      String reply2 = (String) (msg2.getContents().getItem(0));
      System.out.println("Reply received: " + reply2);
     
      sender.stop();
      receiver.stop();
   }


}
View Full Code Here

Examples of ch.usi.dslab.bezerra.netwrapper.tcp.TCPSender.stop()

      TCPMessage msg2 = receiver.receive();
      String reply2 = (String) (msg2.getContents().getItem(0));
      System.out.println("Reply received: " + reply2);
     
      sender.stop();
      receiver.stop();
   }


}
View Full Code Here

Examples of chrriis.dj.nativeswing.swtimpl.components.VLCPlaylist.stop()

    final Runnable loadPlayerFileRunnable = new Runnable() {
      public void run() {
        VLCPlaylist playlist = player.getVLCPlaylist();
        // We reuse the instance, we do not reload the full player everytime.
        // Thus, we stop any previously running item, clear the playlist and add our item
        playlist.stop();
        playlist.clear();
        playlist.addItem(playerFileTextField.getText(), ":start-time=30 :no-audio :no-video-title-show");
        playlist.play();
      }
    };
View Full Code Here

Examples of cloudtrace.instrument.Span.stop()

            log.error("Unexpected error preparing for commit", error);
            break;
          }
        }
      }
      prep.stop();
     
      Span wal = Trace.start("wal");
      long pt2 = System.currentTimeMillis();
      long avgPrepareTime = (long) ((pt2 - pt1) / (double) us.queuedMutations.size());
      us.prepareTimes.addStat(pt2 - pt1);
View Full Code Here

Examples of co.cask.cdap.app.runtime.ProgramController.stop()

    }

    try {
      Preconditions.checkNotNull(runtimeInfo, UserMessages.getMessage(UserErrors.RUNTIME_INFO_NOT_FOUND));
      ProgramController controller = runtimeInfo.getController();
      controller.stop().get();
      return AppFabricServiceStatus.OK;
    } catch (Throwable throwable) {
      LOG.warn(throwable.getMessage(), throwable);
      return AppFabricServiceStatus.INTERNAL_ERROR;
    }
View Full Code Here

Examples of co.cask.cdap.test.FlowManager.stop()

    try {
      // Wait for the last Flowlet processing 5 events, or at most 5 seconds
      RuntimeMetrics metrics = RuntimeStats.getFlowletMetrics("HelloWorld", "WhoFlow", "saver");
      metrics.waitForProcessed(5, 5, TimeUnit.SECONDS);
    } finally {
      flowManager.stop();
    }

    // Start Greeting procedure and query
    ProcedureManager procedureManager = appManager.startProcedure("Greeting");
    String response = procedureManager.getClient().query("greet", ImmutableMap.<String, String>of());
View Full Code Here

Examples of co.cask.tigon.test.FlowManager.stop()

  @Test
  public void testFlow() throws Exception {
    FlowManager flowManager = deployFlow(CountRandom.class, Maps.<String, String>newHashMap());
    TimeUnit.SECONDS.sleep(5);
    flowManager.stop();
  }

}
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.