Tabnine Logo
OhmDBImpl.registerTriggers
Code IndexAdd Tabnine to your IDE (free)

How to use
registerTriggers
method
in
com.ohmdb.impl.OhmDBImpl

Best Java code snippets using com.ohmdb.impl.OhmDBImpl.registerTriggers (Showing top 6 results out of 315)

origin: com.gitblit.ohmdb/ohmdb-core

@Override
public <T> void trigger(Class<T> type, TriggerAction action, Trigger<T> trigger) {
  Triggering<T> triggering = new Triggering<T>(type, action, trigger);
  triggers.add(triggering);
  for (Table<?> table : tables.values()) {
    registerTriggers(triggering, table);
  }
}
origin: com.gitblit.ohmdb/ohmdb

@Override
public <T> void trigger(Class<T> type, TriggerAction action, Trigger<T> trigger) {
  Triggering<T> triggering = new Triggering<T>(type, action, trigger);
  triggers.add(triggering);
  for (Table<?> table : tables.values()) {
    registerTriggers(triggering, table);
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

@Override
@SuppressWarnings("unchecked")
public synchronized <T> Table<T> table(Class<T> clazz) {
  Table<T> table = (Table<T>) tables.get(clazz);
  if (table == null) {
    table = new TableImpl<T>(this, clazz, store, ids, transactor, stats, lockManager);
    tables.put(clazz, table);
    for (Triggering<?> triggering : triggers) {
      registerTriggers(triggering, table);
    }
  }
  return table;
}
origin: com.gitblit.ohmdb/ohmdb

@Override
@SuppressWarnings("unchecked")
public synchronized <T> Table<T> table(Class<T> clazz) {
  Table<T> table = (Table<T>) tables.get(clazz);
  if (table == null) {
    table = new TableImpl<T>(this, clazz, store, ids, transactor, stats, lockManager);
    tables.put(clazz, table);
    for (Triggering<?> triggering : triggers) {
      registerTriggers(triggering, table);
    }
  }
  return table;
}
origin: ohmdb/ohmdb

@Override
public <T> void trigger(Class<T> type, TriggerAction action, Trigger<T> trigger) {
  Triggering<T> triggering = new Triggering<T>(type, action, trigger);
  triggers.add(triggering);
  for (Table<?> table : tables.values()) {
    registerTriggers(triggering, table);
  }
}
origin: ohmdb/ohmdb

@Override
@SuppressWarnings("unchecked")
public synchronized <T> Table<T> table(Class<T> clazz) {
  Table<T> table = (Table<T>) tables.get(clazz);
  if (table == null) {
    table = new TableImpl<T>(this, clazz, store, ids, transactor, stats, lockManager);
    tables.put(clazz, table);
    for (Triggering<?> triggering : triggers) {
      registerTriggers(triggering, table);
    }
  }
  return table;
}
com.ohmdb.implOhmDBImplregisterTriggers

Popular methods of OhmDBImpl

  • relation
  • <init>
  • addShutdownHook
  • address
  • commit
  • decode
  • deleteRelsInTx
  • exportColumns
  • exportRecord
  • exportRelations
  • failure
  • importColumns
  • failure,
  • importColumns,
  • importRelations,
  • rollback,
  • table,
  • getLinkMatcher

Popular in Java

  • Making http requests using okhttp
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • startActivity (Activity)
  • String (java.lang)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFrame (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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