-
public interface StorageManagerProviderExtension point to register a newStorageManagertype. 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 intgetPriority()Returns the priority of this storage manager.booleanisProvider(Path storagePath)Returns whether this provider supports the given storage pathStorageManagernewStorageManager(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
-
-