Class NovaRateLimit.NovaLimitEntry
- java.lang.Object
-
- org.openstack4j.openstack.compute.domain.NovaRateLimit.NovaLimitEntry
-
- All Implemented Interfaces:
Serializable,RateLimit.LimitEntry
- Enclosing class:
- NovaRateLimit
public static class NovaRateLimit.NovaLimitEntry extends Object implements RateLimit.LimitEntry, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NovaLimitEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAvailable()DategetNextAvailable()intgetRemaining()StringgetUnit()intgetValue()StringgetVerb()StringtoString()
-
-
-
Method Detail
-
getNextAvailable
public Date getNextAvailable()
- Specified by:
getNextAvailablein interfaceRateLimit.LimitEntry- Returns:
- the nextAvailable date/time
-
getUnit
public String getUnit()
- Specified by:
getUnitin interfaceRateLimit.LimitEntry- Returns:
- the unit of time for limiting
-
getVerb
public String getVerb()
- Specified by:
getVerbin interfaceRateLimit.LimitEntry- Returns:
- the verb (action type)
-
getRemaining
public int getRemaining()
- Specified by:
getRemainingin interfaceRateLimit.LimitEntry- Returns:
- the remaining limits
-
getAvailable
public int getAvailable()
- Specified by:
getAvailablein interfaceRateLimit.LimitEntry- Returns:
- the available limit slots
-
getValue
public int getValue()
- Specified by:
getValuein interfaceRateLimit.LimitEntry- Returns:
- the value for the last limit
-
-