Tabnine Logo
com.ohmdb.abstracts
Code IndexAdd Tabnine to your IDE (free)

How to use com.ohmdb.abstracts

Best Java code snippets using com.ohmdb.abstracts (Showing top 20 results out of 315)

origin: com.gitblit.ohmdb/ohmdb-core

public static void link(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.link(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb

public static void delink(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.delink(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb

public static void link(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.link(from, to);
  }
}
origin: ohmdb/ohmdb

public static void delink(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.delink(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb

@Override
public int size() {
  try {
    // READ LOCK
    locker.globalReadLock();
    return size;
  } finally {
    // READ UNLOCK
    locker.globalReadUnlock();
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

private void doComplexIndices(ComplexIndex<E>[] complexIndices, E oldEntity, E newEntity, long id) {
  for (int i = 0; i < complexIndices.length; i++) {
    ComplexIndex<E> indx = complexIndices[i];
    if (indx == null) {
      return;
    }
    indx.remove(oldEntity, id);
    indx.add(newEntity, id);
  }
}
origin: com.gitblit.ohmdb/ohmdb

@Override
public void delete(long key) {
  // System.out.println("DELETE " + key);
  data.delete(key);
}
origin: com.gitblit.ohmdb/ohmdb-core

@Override
public void begin(Transaction transaction) {
  lockManager.globalWriteLock();
  stats.transactions++;
  this.transaction = transaction;
}
origin: com.gitblit.ohmdb/ohmdb

@Override
public synchronized void rollback() {
  state = TxState.ROLLING_BACK;
  store.rollback(this);
}
origin: ohmdb/ohmdb

public static void delink(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.delink(from, to);
  }
}
origin: ohmdb/ohmdb

public static void link(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.link(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb

public static void link(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.link(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

public static void delink(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.delink(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

@Override
public int size() {
  try {
    // READ LOCK
    locker.globalReadLock();
    return size;
  } finally {
    // READ UNLOCK
    locker.globalReadUnlock();
  }
}
origin: com.gitblit.ohmdb/ohmdb

private void doComplexIndices(ComplexIndex<E>[] complexIndices, E oldEntity, E newEntity, long id) {
  for (int i = 0; i < complexIndices.length; i++) {
    ComplexIndex<E> indx = complexIndices[i];
    if (indx == null) {
      return;
    }
    indx.remove(oldEntity, id);
    indx.add(newEntity, id);
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

@Override
public void delete(long key) {
  // System.out.println("DELETE " + key);
  data.delete(key);
}
origin: com.gitblit.ohmdb/ohmdb-core

public static void delink(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.delink(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb-core

public static void link(RWRelation rel, long from, Numbers tos) {
  for (long to : tos.toArray()) {
    rel.link(from, to);
  }
}
origin: ohmdb/ohmdb

public static void link(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.link(from, to);
  }
}
origin: com.gitblit.ohmdb/ohmdb

public static void delink(RelationInternals rel, Numbers froms, long to) {
  for (long from : froms.toArray()) {
    rel.delink(from, to);
  }
}
com.ohmdb.abstracts

Most used classes

  • Numbers
  • RWRelation
  • JokerCreator
  • LoadedData
  • ReadOnlyRelation
  • ComplexIndex,
  • DataSource,
  • DataStore,
  • DatastoreTransaction,
  • DbInsider,
  • FutureIds,
  • IdAddress,
  • IdColl,
  • Index,
  • LockManager,
  • RelationInternals,
  • Zones,
  • Any,
  • DataImporter
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