class_docstr: Data manager for all plugin.
      
docstr: Create a data manager for all plugin.
  
  All kinds of plugin has own reservoir, stored in a dict with plugin
  name as key.
docstr_tok: ["Create","a","data","manager","for","all","plugin",".","All","kinds","of","plugin","has","own","reservoir",",","stored","in","a","dict","with","plugin","name","as","key","."]
code: def __init__(self):
      """Create a data manager for all plugin.
  
      All kinds of plugin has own reservoir, stored in a dict with plugin
      name as key.
  
      """
      self._reservoirs = {
          "scalar": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["scalar"]
          ),
          "histogram": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["histogram"]
          ),
          "image": Reservoir(max_size=DEFAULT_PLUGIN_MAXSIZE["image"]),
          "embeddings": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["embeddings"]
          ),
          "audio": Reservoir(max_size=DEFAULT_PLUGIN_MAXSIZE["audio"]),
          "pr_curve": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["pr_curve"]
          ),
          "roc_curve": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["roc_curve"]
          ),
          "meta_data": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["meta_data"]
          ),
          "text": Reservoir(max_size=DEFAULT_PLUGIN_MAXSIZE["text"]),
          "hyper_parameters": Reservoir(
              max_size=DEFAULT_PLUGIN_MAXSIZE["hyper_parameters"]
          ),
      }
      self._mutex = threading.Lock()
  
imports: import collections
  import random
  import threading
label_desc: Use image node_id 1 to create a new DataManager object from inherited base classes: object with example: obj = DataManager()