
org.ocap.dvr.storage.SpaceAllocationHandler.html Maven / Gradle / Ivy
SpaceAllocationHandler
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
org.ocap.dvr.storage
Interface SpaceAllocationHandler
public interface SpaceAllocationHandler
A class implementing this interface decides whether requests to allocate storage space should be allowed or not.
Method Summary | |
---|---|
long |
allowReservation(LogicalStorageVolume volume,
AppID app,
long spaceRequested)
This method should be used by the implementation to allow the SpaceAllocationHandler to grant a request to reserve space. |
Method Detail |
---|
allowReservation
long allowReservation(LogicalStorageVolume volume, AppID app, long spaceRequested)
- This method should be used by the implementation to allow the SpaceAllocationHandler to
grant a request to reserve space.
- Parameters:
volume
- The LogicalStorageVolume on which the reserved space is requested.app
- The requesting application.spaceRequested
- The new value of the reservation if the request is granted.- Returns:
- the space granted.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
© 2015 - 2025 Weber Informatics LLC | Privacy Policy