test_class.declarator: rnd = new Random()
test_class.modifier: private
test_class.original_string: private Random rnd = new Random();
test_class.type: Random
test_class.var_name: rnd
test_class.declarator: maxFileSize = 7896
test_class.modifier: private
test_class.original_string: private int maxFileSize = 7896;
test_class.type: int
test_class.var_name: maxFileSize
test_class.declarator: root = INITIAL_CONTENT
test_class.modifier: private
test_class.original_string: private NodeState root = INITIAL_CONTENT;
test_class.type: NodeState
test_class.var_name: root
test_class.declarator: CLOCK = new Clock.Virtual()
test_class.modifier: private static final
test_class.original_string: private static final Clock CLOCK = new Clock.Virtual();
test_class.type: Clock
test_class.var_name: CLOCK
test_class.declarator: temporaryFolder = new TemporaryFolder(new File("target"))
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public TemporaryFolder temporaryFolder = new TemporaryFolder(new File("target"));
test_class.type: TemporaryFolder
test_class.var_name: temporaryFolder
test_class.declarator: builder = root.builder()
test_class.modifier: private
test_class.original_string: private NodeBuilder builder = root.builder();
test_class.type: NodeBuilder
test_class.var_name: builder
test_class.declarator: indexPath = "/oak:index/test"
test_class.modifier: private
test_class.original_string: private String indexPath = "/oak:index/test";
test_class.type: String
test_class.var_name: indexPath
test_class.declarator: closer = Closer.create()
test_class.modifier: private final
test_class.original_string: private final Closer closer = Closer.create();
test_class.type: Closer
test_class.var_name: closer
test_class.file: oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexCopierTest.java
test_class.identifier: IndexCopierTest
test_case.body: @Test
      public void reuseLocalDir() throws Exception{
          Directory baseDir = new RAMDirectory();
          LuceneIndexDefinition defn = new LuceneIndexDefinition(root, builder.getNodeState(), "/foo");
          IndexCopier c1 = new RAMIndexCopier(baseDir, sameThreadExecutor(), getWorkDir());
  
          FileTrackingDirectory remote = new FileTrackingDirectory();
          Directory wrapped = c1.wrapForRead("/foo", defn, remote, INDEX_DATA_CHILD_NAME);
  
          byte[] t1 = writeFile(remote, "t1");
  
          //1. Read for the first time should be served from remote
          readAndAssert(wrapped, "t1", t1);
          assertEquals(1, remote.openedFiles.size());
  
          //2. Reuse the testDir and read again
          Directory wrapped2 = c1.wrapForRead("/foo", defn, remote, INDEX_DATA_CHILD_NAME);
          remote.reset();
  
          //3. Now read should be served from local
          readAndAssert(wrapped2, "t1", t1);
          assertEquals(0, remote.openedFiles.size());
  
          //Now check if local file gets corrupted then read from remote
          Directory wrapped3 = c1.wrapForRead("/foo", defn, remote, INDEX_DATA_CHILD_NAME);
          remote.reset();
  
          //4. Corrupt the local copy
          writeFile(baseDir, "t1");
  
          //Now read would be done from remote
          readAndAssert(wrapped3, "t1", t1);
          assertEquals(1, remote.openedFiles.size());
      }
test_case.class_method_signature: IndexCopierTest.reuseLocalDir()
test_case.full_signature: @Test public void reuseLocalDir()
test_case.identifier: reuseLocalDir
test_case.invocations: getNodeState sameThreadExecutor getWorkDir wrapForRead writeFile readAndAssert assertEquals size wrapForRead reset readAndAssert assertEquals size wrapForRead reset writeFile readAndAssert assertEquals size
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reuseLocalDir()
focal_class.declarator: REMOTE_ONLY = ImmutableSet.of("segments.gen")
focal_class.modifier: public static final
focal_class.original_string: public static final Set<String> REMOTE_ONLY = ImmutableSet.of("segments.gen");
focal_class.type: Set<String>
focal_class.var_name: REMOTE_ONLY
focal_class.declarator: MAX_FAILURE_ENTRIES = 10000
focal_class.modifier: private static final
focal_class.original_string: private static final int MAX_FAILURE_ENTRIES = 10000;
focal_class.type: int
focal_class.var_name: MAX_FAILURE_ENTRIES
focal_class.declarator: WORK_DIR_NAME = "indexWriterDir"
focal_class.modifier: private static final
focal_class.original_string: private static final String WORK_DIR_NAME = "indexWriterDir";
focal_class.type: String
focal_class.var_name: WORK_DIR_NAME
focal_class.declarator: log = LoggerFactory.getLogger(IndexCopier.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(IndexCopier.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: executor
focal_class.modifier: private final
focal_class.original_string: private final Executor executor;
focal_class.type: Executor
focal_class.var_name: executor
focal_class.declarator: indexWorkDir
focal_class.modifier: private final
focal_class.original_string: private final File indexWorkDir;
focal_class.type: File
focal_class.var_name: indexWorkDir
focal_class.declarator: readerLocalReadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger readerLocalReadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: readerLocalReadCount
focal_class.declarator: writerLocalReadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger writerLocalReadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: writerLocalReadCount
focal_class.declarator: readerRemoteReadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger readerRemoteReadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: readerRemoteReadCount
focal_class.declarator: writerRemoteReadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger writerRemoteReadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: writerRemoteReadCount
focal_class.declarator: invalidFileCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger invalidFileCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: invalidFileCount
focal_class.declarator: deletedFileCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger deletedFileCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: deletedFileCount
focal_class.declarator: scheduledForCopyCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger scheduledForCopyCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: scheduledForCopyCount
focal_class.declarator: copyInProgressCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger copyInProgressCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: copyInProgressCount
focal_class.declarator: maxCopyInProgressCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger maxCopyInProgressCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: maxCopyInProgressCount
focal_class.declarator: maxScheduledForCopyCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger maxScheduledForCopyCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: maxScheduledForCopyCount
focal_class.declarator: uploadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger uploadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: uploadCount
focal_class.declarator: downloadCount = new AtomicInteger()
focal_class.modifier: private final
focal_class.original_string: private final AtomicInteger downloadCount = new AtomicInteger();
focal_class.type: AtomicInteger
focal_class.var_name: downloadCount
focal_class.declarator: copyInProgressSize = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong copyInProgressSize = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: copyInProgressSize
focal_class.declarator: downloadSize = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong downloadSize = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: downloadSize
focal_class.declarator: uploadSize = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong uploadSize = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: uploadSize
focal_class.declarator: garbageCollectedSize = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong garbageCollectedSize = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: garbageCollectedSize
focal_class.declarator: skippedFromUploadSize = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong skippedFromUploadSize = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: skippedFromUploadSize
focal_class.declarator: downloadTime = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong downloadTime = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: downloadTime
focal_class.declarator: uploadTime = new AtomicLong()
focal_class.modifier: private final
focal_class.original_string: private final AtomicLong uploadTime = new AtomicLong();
focal_class.type: AtomicLong
focal_class.var_name: uploadTime
focal_class.declarator: copyCompletionMonitor = new Monitor()
focal_class.modifier: private final
focal_class.original_string: private final Monitor copyCompletionMonitor = new Monitor();
focal_class.type: Monitor
focal_class.var_name: copyCompletionMonitor
focal_class.declarator: indexPathVersionMapping = newConcurrentMap()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> indexPathVersionMapping = newConcurrentMap();
focal_class.type: Map<String, String>
focal_class.var_name: indexPathVersionMapping
focal_class.declarator: failedToDeleteFiles = newConcurrentMap()
focal_class.modifier: private final
focal_class.original_string: private final ConcurrentMap<String, LocalIndexFile> failedToDeleteFiles = newConcurrentMap();
focal_class.type: ConcurrentMap<String, LocalIndexFile>
focal_class.var_name: failedToDeleteFiles
focal_class.declarator: copyInProgressFiles = Collections.newSetFromMap(new ConcurrentHashMap<LocalIndexFile, Boolean>())
focal_class.modifier: private final
focal_class.original_string: private final Set<LocalIndexFile> copyInProgressFiles = Collections.newSetFromMap(new ConcurrentHashMap<LocalIndexFile, Boolean>());
focal_class.type: Set<LocalIndexFile>
focal_class.var_name: copyInProgressFiles
focal_class.declarator: prefetchEnabled
focal_class.modifier: private final
focal_class.original_string: private final boolean prefetchEnabled;
focal_class.type: boolean
focal_class.var_name: prefetchEnabled
focal_class.declarator: closed
focal_class.modifier: private volatile
focal_class.original_string: private volatile boolean closed;
focal_class.type: boolean
focal_class.var_name: closed
focal_class.declarator: indexRootDirectory
focal_class.modifier: private final
focal_class.original_string: private final IndexRootDirectory indexRootDirectory;
focal_class.type: IndexRootDirectory
focal_class.var_name: indexRootDirectory
focal_class.declarator: validatedIndexPaths = Sets.newConcurrentHashSet()
focal_class.modifier: private final
focal_class.original_string: private final Set<String> validatedIndexPaths = Sets.newConcurrentHashSet();
focal_class.type: Set<String>
focal_class.var_name: validatedIndexPaths
focal_class.file: oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexCopier.java
focal_class.identifier: IndexCopier
focal_class.interfaces: implements CopyOnReadStatsMBean, Closeable
focal_class.class_method_signature: IndexCopier.IndexCopier(Executor executor, File indexRootDir)
focal_class.full_signature: public  IndexCopier(Executor executor, File indexRootDir)
focal_class.identifier: IndexCopier
focal_class.modifiers: public
focal_class.parameters: (Executor executor, File indexRootDir)
focal_class.signature:  IndexCopier(Executor executor, File indexRootDir)
focal_class.class_method_signature: IndexCopier.IndexCopier(Executor executor, File indexRootDir, boolean prefetchEnabled)
focal_class.full_signature: public  IndexCopier(Executor executor, File indexRootDir, boolean prefetchEnabled)
focal_class.identifier: IndexCopier
focal_class.modifiers: public
focal_class.parameters: (Executor executor, File indexRootDir, boolean prefetchEnabled)
focal_class.signature:  IndexCopier(Executor executor, File indexRootDir, boolean prefetchEnabled)
focal_class.class_method_signature: IndexCopier.wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_class.full_signature: public Directory wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_class.identifier: wrapForRead
focal_class.modifiers: public
focal_class.parameters: (String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_class.return: Directory
focal_class.signature: Directory wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_class.class_method_signature: IndexCopier.wrapForWrite(LuceneIndexDefinition definition, Directory remote,
                                    boolean reindexMode, String dirName,
                                    COWDirectoryTracker cowDirectoryTracker)
focal_class.full_signature: public Directory wrapForWrite(LuceneIndexDefinition definition, Directory remote,
                                    boolean reindexMode, String dirName,
                                    COWDirectoryTracker cowDirectoryTracker)
focal_class.identifier: wrapForWrite
focal_class.modifiers: public
focal_class.parameters: (LuceneIndexDefinition definition, Directory remote,
                                    boolean reindexMode, String dirName,
                                    COWDirectoryTracker cowDirectoryTracker)
focal_class.return: Directory
focal_class.signature: Directory wrapForWrite(LuceneIndexDefinition definition, Directory remote,
                                    boolean reindexMode, String dirName,
                                    COWDirectoryTracker cowDirectoryTracker)
focal_class.class_method_signature: IndexCopier.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: IndexCopier.isClosed()
focal_class.full_signature: public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: IndexCopier.getIndexWorkDir()
focal_class.full_signature:  File getIndexWorkDir()
focal_class.identifier: getIndexWorkDir
focal_class.parameters: ()
focal_class.return: File
focal_class.signature: File getIndexWorkDir()
focal_class.class_method_signature: IndexCopier.getIndexRootDirectory()
focal_class.full_signature:  IndexRootDirectory getIndexRootDirectory()
focal_class.identifier: getIndexRootDirectory
focal_class.parameters: ()
focal_class.return: IndexRootDirectory
focal_class.signature: IndexRootDirectory getIndexRootDirectory()
focal_class.class_method_signature: IndexCopier.createLocalDirForIndexWriter(LuceneIndexDefinition definition, String dirName,
                                                       boolean reindexMode,
                                                       COWDirectoryTracker cowDirectoryTracker)
focal_class.full_signature: protected Directory createLocalDirForIndexWriter(LuceneIndexDefinition definition, String dirName,
                                                       boolean reindexMode,
                                                       COWDirectoryTracker cowDirectoryTracker)
focal_class.identifier: createLocalDirForIndexWriter
focal_class.modifiers: protected
focal_class.parameters: (LuceneIndexDefinition definition, String dirName,
                                                       boolean reindexMode,
                                                       COWDirectoryTracker cowDirectoryTracker)
focal_class.return: Directory
focal_class.signature: Directory createLocalDirForIndexWriter(LuceneIndexDefinition definition, String dirName,
                                                       boolean reindexMode,
                                                       COWDirectoryTracker cowDirectoryTracker)
focal_class.class_method_signature: IndexCopier.createLocalDirForIndexReader(String indexPath, LuceneIndexDefinition definition, String dirName)
focal_class.full_signature: protected Directory createLocalDirForIndexReader(String indexPath, LuceneIndexDefinition definition, String dirName)
focal_class.identifier: createLocalDirForIndexReader
focal_class.modifiers: protected
focal_class.parameters: (String indexPath, LuceneIndexDefinition definition, String dirName)
focal_class.return: Directory
focal_class.signature: Directory createLocalDirForIndexReader(String indexPath, LuceneIndexDefinition definition, String dirName)
focal_class.class_method_signature: IndexCopier.getIndexDir(IndexDefinition definition, String indexPath, String dirName)
focal_class.full_signature: public File getIndexDir(IndexDefinition definition, String indexPath, String dirName)
focal_class.identifier: getIndexDir
focal_class.modifiers: public
focal_class.parameters: (IndexDefinition definition, String indexPath, String dirName)
focal_class.return: File
focal_class.signature: File getIndexDir(IndexDefinition definition, String indexPath, String dirName)
focal_class.class_method_signature: IndexCopier.getFailedToDeleteFiles()
focal_class.full_signature:  Map<String, LocalIndexFile> getFailedToDeleteFiles()
focal_class.identifier: getFailedToDeleteFiles
focal_class.parameters: ()
focal_class.return: Map<String, LocalIndexFile>
focal_class.signature: Map<String, LocalIndexFile> getFailedToDeleteFiles()
focal_class.class_method_signature: IndexCopier.failedToDelete(LocalIndexFile file)
focal_class.full_signature: private void failedToDelete(LocalIndexFile file)
focal_class.identifier: failedToDelete
focal_class.modifiers: private
focal_class.parameters: (LocalIndexFile file)
focal_class.return: void
focal_class.signature: void failedToDelete(LocalIndexFile file)
focal_class.class_method_signature: IndexCopier.successfullyDeleted(LocalIndexFile file, boolean fileExisted)
focal_class.full_signature: private void successfullyDeleted(LocalIndexFile file, boolean fileExisted)
focal_class.identifier: successfullyDeleted
focal_class.modifiers: private
focal_class.parameters: (LocalIndexFile file, boolean fileExisted)
focal_class.return: void
focal_class.signature: void successfullyDeleted(LocalIndexFile file, boolean fileExisted)
focal_class.class_method_signature: IndexCopier.checkIntegrity(String indexPath, Directory local, Directory remote)
focal_class.full_signature: private void checkIntegrity(String indexPath, Directory local, Directory remote)
focal_class.identifier: checkIntegrity
focal_class.modifiers: private
focal_class.parameters: (String indexPath, Directory local, Directory remote)
focal_class.return: void
focal_class.signature: void checkIntegrity(String indexPath, Directory local, Directory remote)
focal_class.class_method_signature: IndexCopier.initializerWorkDir(File indexRootDir)
focal_class.full_signature: private static File initializerWorkDir(File indexRootDir)
focal_class.identifier: initializerWorkDir
focal_class.modifiers: private static
focal_class.parameters: (File indexRootDir)
focal_class.return: File
focal_class.signature: File initializerWorkDir(File indexRootDir)
focal_class.class_method_signature: IndexCopier.createIndexPathKey(String indexPath, String dirName)
focal_class.full_signature: private static String createIndexPathKey(String indexPath, String dirName)
focal_class.identifier: createIndexPathKey
focal_class.modifiers: private static
focal_class.parameters: (String indexPath, String dirName)
focal_class.return: String
focal_class.signature: String createIndexPathKey(String indexPath, String dirName)
focal_class.class_method_signature: IndexCopier.deleteFile(Directory dir, String fileName, boolean copiedFromRemote)
focal_class.full_signature: public boolean deleteFile(Directory dir, String fileName, boolean copiedFromRemote)
focal_class.identifier: deleteFile
focal_class.modifiers: public
focal_class.parameters: (Directory dir, String fileName, boolean copiedFromRemote)
focal_class.return: boolean
focal_class.signature: boolean deleteFile(Directory dir, String fileName, boolean copiedFromRemote)
focal_class.class_method_signature: IndexCopier.getNewestLocalFSTimestampFor(Set<String> names, Directory localDir)
focal_class.full_signature: public static long getNewestLocalFSTimestampFor(Set<String> names, Directory localDir)
focal_class.identifier: getNewestLocalFSTimestampFor
focal_class.modifiers: public static
focal_class.parameters: (Set<String> names, Directory localDir)
focal_class.return: long
focal_class.signature: long getNewestLocalFSTimestampFor(Set<String> names, Directory localDir)
focal_class.class_method_signature: IndexCopier.isFileModifiedBefore(String name, Directory localDir, long millis)
focal_class.full_signature: public static boolean isFileModifiedBefore(String name, Directory localDir, long millis)
focal_class.identifier: isFileModifiedBefore
focal_class.modifiers: public static
focal_class.parameters: (String name, Directory localDir, long millis)
focal_class.return: boolean
focal_class.signature: boolean isFileModifiedBefore(String name, Directory localDir, long millis)
focal_class.class_method_signature: IndexCopier.startCopy(LocalIndexFile file)
focal_class.full_signature: public long startCopy(LocalIndexFile file)
focal_class.identifier: startCopy
focal_class.modifiers: public
focal_class.parameters: (LocalIndexFile file)
focal_class.return: long
focal_class.signature: long startCopy(LocalIndexFile file)
focal_class.class_method_signature: IndexCopier.isCopyInProgress(LocalIndexFile file)
focal_class.full_signature: public boolean isCopyInProgress(LocalIndexFile file)
focal_class.identifier: isCopyInProgress
focal_class.modifiers: public
focal_class.parameters: (LocalIndexFile file)
focal_class.return: boolean
focal_class.signature: boolean isCopyInProgress(LocalIndexFile file)
focal_class.class_method_signature: IndexCopier.waitForCopyCompletion(LocalIndexFile file, long timeoutMillis)
focal_class.full_signature: public void waitForCopyCompletion(LocalIndexFile file, long timeoutMillis)
focal_class.identifier: waitForCopyCompletion
focal_class.modifiers: public
focal_class.parameters: (LocalIndexFile file, long timeoutMillis)
focal_class.return: void
focal_class.signature: void waitForCopyCompletion(LocalIndexFile file, long timeoutMillis)
focal_class.class_method_signature: IndexCopier.doneCopy(LocalIndexFile file, long start)
focal_class.full_signature: public void doneCopy(LocalIndexFile file, long start)
focal_class.identifier: doneCopy
focal_class.modifiers: public
focal_class.parameters: (LocalIndexFile file, long start)
focal_class.return: void
focal_class.signature: void doneCopy(LocalIndexFile file, long start)
focal_class.class_method_signature: IndexCopier.updateMaxScheduled(int val)
focal_class.full_signature: private void updateMaxScheduled(int val)
focal_class.identifier: updateMaxScheduled
focal_class.modifiers: private
focal_class.parameters: (int val)
focal_class.return: void
focal_class.signature: void updateMaxScheduled(int val)
focal_class.class_method_signature: IndexCopier.updateMaxInProgress(int val)
focal_class.full_signature: private void updateMaxInProgress(int val)
focal_class.identifier: updateMaxInProgress
focal_class.modifiers: private
focal_class.parameters: (int val)
focal_class.return: void
focal_class.signature: void updateMaxInProgress(int val)
focal_class.class_method_signature: IndexCopier.skippedUpload(long skippedFilesSize)
focal_class.full_signature: public void skippedUpload(long skippedFilesSize)
focal_class.identifier: skippedUpload
focal_class.modifiers: public
focal_class.parameters: (long skippedFilesSize)
focal_class.return: void
focal_class.signature: void skippedUpload(long skippedFilesSize)
focal_class.class_method_signature: IndexCopier.scheduledForCopy()
focal_class.full_signature: public void scheduledForCopy()
focal_class.identifier: scheduledForCopy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void scheduledForCopy()
focal_class.class_method_signature: IndexCopier.copyDone()
focal_class.full_signature: public void copyDone()
focal_class.identifier: copyDone
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void copyDone()
focal_class.class_method_signature: IndexCopier.readFromRemote(boolean reader)
focal_class.full_signature: public void readFromRemote(boolean reader)
focal_class.identifier: readFromRemote
focal_class.modifiers: public
focal_class.parameters: (boolean reader)
focal_class.return: void
focal_class.signature: void readFromRemote(boolean reader)
focal_class.class_method_signature: IndexCopier.readFromLocal(boolean reader)
focal_class.full_signature: public void readFromLocal(boolean reader)
focal_class.identifier: readFromLocal
focal_class.modifiers: public
focal_class.parameters: (boolean reader)
focal_class.return: void
focal_class.signature: void readFromLocal(boolean reader)
focal_class.class_method_signature: IndexCopier.foundInvalidFile()
focal_class.full_signature: public void foundInvalidFile()
focal_class.identifier: foundInvalidFile
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void foundInvalidFile()
focal_class.class_method_signature: IndexCopier.getIndexPathMapping()
focal_class.full_signature: @Override public TabularData getIndexPathMapping()
focal_class.identifier: getIndexPathMapping
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: TabularData
focal_class.signature: TabularData getIndexPathMapping()
focal_class.class_method_signature: IndexCopier.isPrefetchEnabled()
focal_class.full_signature: @Override public boolean isPrefetchEnabled()
focal_class.identifier: isPrefetchEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isPrefetchEnabled()
focal_class.class_method_signature: IndexCopier.getReaderLocalReadCount()
focal_class.full_signature: @Override public int getReaderLocalReadCount()
focal_class.identifier: getReaderLocalReadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getReaderLocalReadCount()
focal_class.class_method_signature: IndexCopier.getReaderRemoteReadCount()
focal_class.full_signature: @Override public int getReaderRemoteReadCount()
focal_class.identifier: getReaderRemoteReadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getReaderRemoteReadCount()
focal_class.class_method_signature: IndexCopier.getWriterLocalReadCount()
focal_class.full_signature: @Override public int getWriterLocalReadCount()
focal_class.identifier: getWriterLocalReadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getWriterLocalReadCount()
focal_class.class_method_signature: IndexCopier.getWriterRemoteReadCount()
focal_class.full_signature: @Override public int getWriterRemoteReadCount()
focal_class.identifier: getWriterRemoteReadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getWriterRemoteReadCount()
focal_class.class_method_signature: IndexCopier.getInvalidFileCount()
focal_class.full_signature: public int getInvalidFileCount()
focal_class.identifier: getInvalidFileCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getInvalidFileCount()
focal_class.class_method_signature: IndexCopier.getDownloadSize()
focal_class.full_signature: @Override public String getDownloadSize()
focal_class.identifier: getDownloadSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getDownloadSize()
focal_class.class_method_signature: IndexCopier.getDownloadTime()
focal_class.full_signature: @Override public long getDownloadTime()
focal_class.identifier: getDownloadTime
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getDownloadTime()
focal_class.class_method_signature: IndexCopier.getDownloadCount()
focal_class.full_signature: @Override public int getDownloadCount()
focal_class.identifier: getDownloadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDownloadCount()
focal_class.class_method_signature: IndexCopier.getUploadCount()
focal_class.full_signature: @Override public int getUploadCount()
focal_class.identifier: getUploadCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getUploadCount()
focal_class.class_method_signature: IndexCopier.getUploadSize()
focal_class.full_signature: @Override public String getUploadSize()
focal_class.identifier: getUploadSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUploadSize()
focal_class.class_method_signature: IndexCopier.getUploadTime()
focal_class.full_signature: @Override public long getUploadTime()
focal_class.identifier: getUploadTime
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getUploadTime()
focal_class.class_method_signature: IndexCopier.getLocalIndexSize()
focal_class.full_signature: @Override public String getLocalIndexSize()
focal_class.identifier: getLocalIndexSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getLocalIndexSize()
focal_class.class_method_signature: IndexCopier.getLocalIndexDirSize()
focal_class.full_signature: @Override public long getLocalIndexDirSize()
focal_class.identifier: getLocalIndexDirSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLocalIndexDirSize()
focal_class.class_method_signature: IndexCopier.getGarbageDetails()
focal_class.full_signature: @Override public String[] getGarbageDetails()
focal_class.identifier: getGarbageDetails
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getGarbageDetails()
focal_class.class_method_signature: IndexCopier.getGarbageSize()
focal_class.full_signature: @Override public String getGarbageSize()
focal_class.identifier: getGarbageSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getGarbageSize()
focal_class.class_method_signature: IndexCopier.getScheduledForCopyCount()
focal_class.full_signature: @Override public int getScheduledForCopyCount()
focal_class.identifier: getScheduledForCopyCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getScheduledForCopyCount()
focal_class.class_method_signature: IndexCopier.getCopyInProgressCount()
focal_class.full_signature: @Override public int getCopyInProgressCount()
focal_class.identifier: getCopyInProgressCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCopyInProgressCount()
focal_class.class_method_signature: IndexCopier.getCopyInProgressSize()
focal_class.full_signature: @Override public String getCopyInProgressSize()
focal_class.identifier: getCopyInProgressSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getCopyInProgressSize()
focal_class.class_method_signature: IndexCopier.getMaxCopyInProgressCount()
focal_class.full_signature: @Override public int getMaxCopyInProgressCount()
focal_class.identifier: getMaxCopyInProgressCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxCopyInProgressCount()
focal_class.class_method_signature: IndexCopier.getMaxScheduledForCopyCount()
focal_class.full_signature: @Override public int getMaxScheduledForCopyCount()
focal_class.identifier: getMaxScheduledForCopyCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMaxScheduledForCopyCount()
focal_class.class_method_signature: IndexCopier.getSkippedFromUploadSize()
focal_class.full_signature: public String getSkippedFromUploadSize()
focal_class.identifier: getSkippedFromUploadSize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getSkippedFromUploadSize()
focal_class.class_method_signature: IndexCopier.getCopyInProgressDetails()
focal_class.full_signature: @Override public String[] getCopyInProgressDetails()
focal_class.identifier: getCopyInProgressDetails
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String[]
focal_class.signature: String[] getCopyInProgressDetails()
focal_class.class_method_signature: IndexCopier.getDeletedFilesCount()
focal_class.full_signature: @Override public int getDeletedFilesCount()
focal_class.identifier: getDeletedFilesCount
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDeletedFilesCount()
focal_class.class_method_signature: IndexCopier.getGarbageCollectedSize()
focal_class.full_signature: @Override public String getGarbageCollectedSize()
focal_class.identifier: getGarbageCollectedSize
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getGarbageCollectedSize()
focal_method.body: public Directory wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName) throws IOException {
          Directory local = createLocalDirForIndexReader(indexPath, definition, dirName);
          checkIntegrity(indexPath, local, remote);
          return new CopyOnReadDirectory(this, remote, local, prefetchEnabled, indexPath, executor);
      }
focal_method.class_method_signature: IndexCopier.wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_method.full_signature: public Directory wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_method.identifier: wrapForRead
focal_method.invocations: createLocalDirForIndexReader checkIntegrity
focal_method.modifiers: public
focal_method.parameters: (String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)
focal_method.return: Directory
focal_method.signature: Directory wrapForRead(String indexPath, LuceneIndexDefinition definition,
                                   Directory remote, String dirName)