|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWorkspaceFactorySchemaCache
Manages Geodatabase workspace schema caches.
The schema cache is a cached snapshot of the geodatabase system tables (often referred to as the geodatabase schema). In an enterprise environment the geodatabase system tables (geodatabase schema) are in constant use by ArcGIS. Caching this schema locally can reduce database roundtrips by using the locally cached representation of the geodatabase schema.
Method Summary | |
---|---|
void |
disableAllSchemaCaches()
Disable the schema caches of all open workspaces. |
void |
disableSchemaCache(IWorkspace workspace)
Disable the schema cache for a specific workspace. |
void |
disableSchemaCaching()
All new workspaces handed out by the factory will not have schema caching enabled. |
void |
enableAllSchemaCaches()
Enable the schema caches of all open workspaces. |
void |
enableSchemaCache(IWorkspace workspace)
Enable the schema cache for a specific workspace. |
void |
enableSchemaCaching()
All new workspaces handed out by the factory will have schema caching enabled. |
boolean |
isAnySchemaCacheStale()
Checks all current schema caches for staleness. |
boolean |
isSchemaCacheStale(IWorkspace workspace)
Checks a specific schema cache for staleness. |
void |
refreshAllSchemaCaches()
Refreshes all current schema caches. |
void |
refreshSchemaCache(IWorkspace workspace)
Refreshes the schema cache for a specific workspace. |
Method Detail |
---|
void enableSchemaCaching() throws IOException, AutomationException
This method will enable chaching on any IWorkspace passed out by the workspace factory.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disableSchemaCaching() throws IOException, AutomationException
This method disables schema caching on the workspace factory.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void enableSchemaCache(IWorkspace workspace) throws IOException, AutomationException
The EnableSchemaCache method will enable the schema cache for one workspace.
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void enableAllSchemaCaches() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disableSchemaCache(IWorkspace workspace) throws IOException, AutomationException
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void disableAllSchemaCaches() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isSchemaCacheStale(IWorkspace workspace) throws IOException, AutomationException
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isAnySchemaCacheStale() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refreshSchemaCache(IWorkspace workspace) throws IOException, AutomationException
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void refreshAllSchemaCaches() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |