Tabnine Logo
TaskStorageManager.init
Code IndexAdd Tabnine to your IDE (free)

How to use
init
method
in
org.apache.samza.storage.TaskStorageManager

Best Java code snippets using org.apache.samza.storage.TaskStorageManager.init (Showing top 4 results out of 315)

origin: org.apache.samza/samza-core_2.11

/**
 * run the setup phase and restore all the task storages
 */
public void run() {
 setup();
 log.info("start recovering...");
 systemAdmins.start();
 for (TaskStorageManager taskStorageManager : taskStorageManagers) {
  taskStorageManager.init();
  taskStorageManager.stopStores();
  log.debug("restored " + taskStorageManager.toString());
 }
 systemAdmins.stop();
 log.info("successfully recovered in " + storeBaseDir.toString());
}
origin: org.apache.samza/samza-core_2.12

/**
 * run the setup phase and restore all the task storages
 */
public void run() {
 setup();
 log.info("start recovering...");
 systemAdmins.start();
 for (TaskStorageManager taskStorageManager : taskStorageManagers) {
  taskStorageManager.init();
  taskStorageManager.stopStores();
  log.debug("restored " + taskStorageManager.toString());
 }
 systemAdmins.stop();
 log.info("successfully recovered in " + storeBaseDir.toString());
}
origin: org.apache.samza/samza-core_2.10

/**
 * run the setup phase and restore all the task storages
 */
public void run() {
 setup();
 log.info("start recovering...");
 systemAdmins.start();
 for (TaskStorageManager taskStorageManager : taskStorageManagers) {
  taskStorageManager.init();
  taskStorageManager.stopStores();
  log.debug("restored " + taskStorageManager.toString());
 }
 systemAdmins.stop();
 log.info("successfully recovered in " + storeBaseDir.toString());
}
origin: org.apache.samza/samza-core

/**
 * run the setup phase and restore all the task storages
 */
public void run() {
 setup();
 log.info("start recovering...");
 systemAdmins.start();
 for (TaskStorageManager taskStorageManager : taskStorageManagers) {
  taskStorageManager.init();
  taskStorageManager.stopStores();
  log.debug("restored " + taskStorageManager.toString());
 }
 systemAdmins.stop();
 log.info("successfully recovered in " + storeBaseDir.toString());
}
org.apache.samza.storageTaskStorageManagerinit

Popular methods of TaskStorageManager

  • <init>
  • getStorePartitionDir
  • stopStores

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • setScale (BigDecimal)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • BoxLayout (javax.swing)
  • JLabel (javax.swing)
  • Table (org.hibernate.mapping)
    A relational table
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now