congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
RecordStore.getStorageFile
Code IndexAdd Tabnine to your IDE (free)

How to use
getStorageFile
method
in
org.neo4j.kernel.impl.store.RecordStore

Best Java code snippets using org.neo4j.kernel.impl.store.RecordStore.getStorageFile (Showing top 5 results out of 315)

origin: neo4j/neo4j

@Override
public File getStorageFile()
{
  return actual.getStorageFile();
}
origin: neo4j/neo4j

StoreProcessorTask( String name, Statistics statistics, int threads, RecordStore<R> store, StoreAccess storeAccess,
    String builderPrefix, ProgressMonitorFactory.MultiPartBuilder builder, CacheAccess cacheAccess,
    StoreProcessor processor, QueueDistribution distribution )
{
  super( name, statistics, threads );
  this.store = store;
  this.storeAccess = storeAccess;
  this.cacheAccess = cacheAccess;
  this.processor = processor;
  this.distribution = distribution;
  this.progressListener = builder.progressForPart( name +
      indexedPartName( store.getStorageFile().getName(), builderPrefix ), store.getHighId() );
}
origin: neo4j/neo4j

@Override
public Collection<StoreFileMetadata> listStorageFiles()
{
  List<StoreFileMetadata> files = new ArrayList<>();
  for ( StoreType type : StoreType.values() )
  {
    if ( type.equals( StoreType.COUNTS ) )
    {
      addCountStoreFiles( files );
    }
    else
    {
      final RecordStore<AbstractBaseRecord> recordStore = neoStores.getRecordStore( type );
      StoreFileMetadata metadata =
          new StoreFileMetadata( recordStore.getStorageFile(), recordStore.getRecordSize() );
      files.add( metadata );
    }
  }
  return files;
}
origin: org.neo4j/neo4j-kernel

@Override
public File getStorageFile()
{
  return actual.getStorageFile();
}
origin: org.neo4j/neo4j-kernel

@Override
public Collection<StoreFileMetadata> listStorageFiles()
{
  List<StoreFileMetadata> files = new ArrayList<>();
  for ( StoreType type : StoreType.values() )
  {
    if ( type.equals( StoreType.COUNTS ) )
    {
      addCountStoreFiles( files );
    }
    else
    {
      final RecordStore<AbstractBaseRecord> recordStore = neoStores.getRecordStore( type );
      StoreFileMetadata metadata =
          new StoreFileMetadata( recordStore.getStorageFile(), recordStore.getRecordSize() );
      files.add( metadata );
    }
  }
  return files;
}
org.neo4j.kernel.impl.storeRecordStoregetStorageFile

Popular methods of RecordStore

  • getRecord
    Utility methods for reading records. These are not on the interface itself since it should be an exp
  • getHighId
  • newRecord
  • updateRecord
    Updates this store with the contents of record at the record id AbstractBaseRecord#getId() by the re
  • getRecordSize
  • nextId
  • getRecordDataSize
  • setHighestPossibleIdInUse
    Sets highest id in use for this store. This is for when records are applied to this store where the
  • ensureHeavy
    For stores that have other stores coupled underneath, the "top level" record will have a flag saying
  • getNumberOfReservedLowIds
    Some stores may have meta data stored in the header of the store file. Since all records in a store
  • getRecordsPerPage
  • prepareForCommit
    Called once all changes to a record is ready to be converted into a command. WARNING this is for adv
  • getRecordsPerPage,
  • prepareForCommit,
  • accept,
  • addRecord,
  • close,
  • closeRecordStore,
  • deleteRecord,
  • enumerateRecords,
  • flush

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 Free Sublime Text Plugins
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