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 int
getAvailable()
Date
getNextAvailable()
int
getRemaining()
String
getUnit()
int
getValue()
String
getVerb()
String
toString()
-
-
-
Method Detail
-
getNextAvailable
public Date getNextAvailable()
- Specified by:
getNextAvailable
in interfaceRateLimit.LimitEntry
- Returns:
- the nextAvailable date/time
-
getUnit
public String getUnit()
- Specified by:
getUnit
in interfaceRateLimit.LimitEntry
- Returns:
- the unit of time for limiting
-
getVerb
public String getVerb()
- Specified by:
getVerb
in interfaceRateLimit.LimitEntry
- Returns:
- the verb (action type)
-
getRemaining
public int getRemaining()
- Specified by:
getRemaining
in interfaceRateLimit.LimitEntry
- Returns:
- the remaining limits
-
getAvailable
public int getAvailable()
- Specified by:
getAvailable
in interfaceRateLimit.LimitEntry
- Returns:
- the available limit slots
-
getValue
public int getValue()
- Specified by:
getValue
in interfaceRateLimit.LimitEntry
- Returns:
- the value for the last limit
-
-