Interface IStorageProvider

All Superinterfaces:
IGridNodeService

public interface IStorageProvider extends IGridNodeService
Allows you to provide storage to the grid's storage system. Implementations that are attached as grid node services will be automatically picked up by the IStorageService when the node joins or leaves the grid.

IStorageService.addGlobalStorageProvider(IStorageProvider) can be used to add additional cell providers to a grid. This is useful for storage provided grid-wide by a grid service, rather than an individual machine.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Allow the cell provider to make inventories available to the network by mounting them.
    static void
    This convenience method can be used to request an update of the mounted storage by the storage provider.
  • Method Details

    • mountInventories

      void mountInventories(IStorageMounts storageMounts)
      Allow the cell provider to make inventories available to the network by mounting them.
    • requestUpdate

      static void requestUpdate(IManagedGridNode managedNode)
      This convenience method can be used to request an update of the mounted storage by the storage provider. This only works if the given managed grid node provides this service.