|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ide.index.file.FileTableManager
public abstract class FileTableManager
Manages FileTable
instances.
Constructor Summary | |
---|---|
FileTableManager() |
Method Summary | |
---|---|
FileTable |
getFileTable(Project project, java.net.URL root) Get a file table for the given root directory. |
abstract FileTable |
getFileTable(Project project, java.net.URL root, PatternFilters filters) Get a file table for the given root directory. |
static FileTableManager |
getFileTableManager() Get the FileTableManager implementation. |
abstract void |
invalidateDir(java.net.URL directory, boolean subdirs) Invalidate file table data for the given directory, and optionally its subdirectories. |
abstract void |
invalidateFile(java.net.URL file) Invalidate file table data for the given file. |
static void |
setFileTableManager(FileTableManager fileTableManager) Set the FileTableManager implementation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileTableManager()
Method Detail |
---|
public static FileTableManager getFileTableManager()
FileTableManager
implementation.FileTableManager
implementationpublic static void setFileTableManager(FileTableManager fileTableManager)
FileTableManager
implementation.fileTableManager
- the FileTableManager
implementationpublic FileTable getFileTable(Project project, java.net.URL root) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
It is the caller's responsibility to call FileTable.release()
when they are done with the file table.
project
- the projectroot
- the root directoryjava.lang.InterruptedException
- if the file table update is interruptedjava.util.concurrent.ExecutionException
- if the file table update failsjava.util.concurrent.RejectedExecutionException
- if the file table service has been shut downpublic abstract FileTable getFileTable(Project project, java.net.URL root, PatternFilters filters) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
It is the caller's responsibility to call FileTable.release()
when they are done with the file table.
project
- the projectroot
- the root directoryfilters
- the filtersjava.lang.InterruptedException
- if the file table update is interruptedjava.util.concurrent.ExecutionException
- if the file table update failsjava.util.concurrent.RejectedExecutionException
- if the file table service has been shut downpublic abstract void invalidateFile(java.net.URL file)
file
- the file to invalidatepublic abstract void invalidateDir(java.net.URL directory, boolean subdirs)
directory
- the directory to invalidatesubdirs
- whether to invalidate subdirectories
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |