public class FastFairStorageProvisioner extends FastFairProvisioner<StorageOperation,StorageResource> implements StorageProvisioner
NotifierImpl.NotifyEvent
Constructor and Description |
---|
FastFairStorageProvisioner()
Empty constructor that creates a provisioner with zero capacity.
|
FastFairStorageProvisioner(long transferRateCapacity) |
Modifier and Type | Method and Description |
---|---|
FastFairStorageProvisioner |
clone()
Creates a clone of this
Notifier . |
long |
getCapacity()
Returns the total capacity of this provisioner.
|
getResourcePromise, grantAllocatedResource, revokeAllocatedResource
addEntity, getConfig, getConfigRec, getEntities, getId, getLogger, getName, getNextId, getParent, getProperties, getProperty, getProperty, hashCode, hasParentRec, lockParent, lockParentRec, removeEntity, setConfig, setName, setParent, setProperty, toString, unlockParent, unlockParentRec, unsetProperty
addProbe, getProbe, getProbe, getProbes, removeProbe, removeProbe
addGlobalListener, addListener, cancelNotifications, cleanupListeners, disableNotifications, enableNotifications, getGlobalListeners, getListeners, isNotificationsDisabled, notify, notifyNow, removeAllGlobalListeners, removeAllListeners, removeAllListeners, removeGlobalListener, removeListener
getResourcePromise, grantAllocatedResource, revokeAllocatedResource
addEntity, getConfig, getConfigRec, getEntities, getId, getLogger, getName, getParent, getProperties, getProperty, getProperty, hasParentRec, lockParent, lockParentRec, removeEntity, setConfig, setName, setParent, setProperty, unlockParent, unlockParentRec, unsetProperty
addGlobalListener, addListener, cancelNotifications, cleanupListeners, disableNotifications, enableNotifications, getGlobalListeners, getListeners, isNotificationsDisabled, notify, notifyNow, removeAllGlobalListeners, removeAllListeners, removeAllListeners, removeGlobalListener, removeListener
addProbe, getProbe, getProbe, getProbes, removeProbe, removeProbe
public FastFairStorageProvisioner()
This constructor is provided only to satisfy the Entity
contract.
You should use FastFairStorageProvisioner(long)
though.
public FastFairStorageProvisioner(long transferRateCapacity)
public FastFairStorageProvisioner clone()
Notifier
Notifier
.
The clone will contain a new empty listeners list and is independent from this object.
clone
in interface Entity
clone
in interface Notifier
clone
in interface StorageProvisioner
clone
in interface Provisioner<StorageOperation,StorageResource>
clone
in class FastFairProvisioner<StorageOperation,StorageResource>
public long getCapacity()
LongProvisionerImpl
getCapacity
in interface StorageProvisioner