public interface StorageManagerProvider
Extension point to register a new
StorageManager type.
StorageManagerProviders must be registered by creating a file
META-INF/services/com.pervasive.datarush.cal.StorageManagerProvider that
contains the implementation class.-
Method Summary
Modifier and TypeMethodDescriptionintReturns the priority of this storage manager.booleanisProvider(Path storagePath) Returns whether this provider supports the given storage pathnewStorageManager(StorageManagerSpecifier specifier) Create a new storage manager
-
Method Details
-
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
Returns whether this provider supports the given storage path- Parameters:
storagePath- the storage path- Returns:
- whether this provider supports the given storage path
-
newStorageManager
Create a new storage manager- Parameters:
specifier- parameters needed to initialize the storage manager- Returns:
- a new storage manager
-