-
public interface StorageManagerProvider
Extension point to register a newStorageManager
type. StorageManagerProviders must be registered by creating a file META-INF/services/com.pervasive.datarush.cal.StorageManagerProvider that contains the implementation class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getPriority()
Returns the priority of this storage manager.boolean
isProvider(Path storagePath)
Returns whether this provider supports the given storage pathStorageManager
newStorageManager(StorageManagerSpecifier specifier)
Create a new storage manager
-
-
-
Method Detail
-
getPriority
int getPriority()
Returns the priority of this storage manager. Used to resolve cases where multiple providers match a given path.- Returns:
- the priority
-
isProvider
boolean isProvider(Path storagePath)
Returns whether this provider supports the given storage path- Parameters:
storagePath
- the storage path- Returns:
- whether this provider supports the given storage path
-
newStorageManager
StorageManager newStorageManager(StorageManagerSpecifier specifier)
Create a new storage manager- Parameters:
specifier
- parameters needed to initialize the storage manager- Returns:
- a new storage manager
-
-