Package appeng.api.storage
Interface IStorageProvider
- All Superinterfaces:
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 TypeMethodDescriptionvoid
mountInventories
(IStorageMounts storageMounts) Allow the cell provider to make inventories available to the network by mounting them.static void
requestUpdate
(IManagedGridNode managedNode) This convenience method can be used to request an update of the mounted storage by the storage provider.
-
Method Details
-
mountInventories
Allow the cell provider to make inventories available to the network by mounting them. -
requestUpdate
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.
-