Interface StorageManagerProvider


  • 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 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