Package org.openstack4j.model.manila
Interface RateLimit.Limit
-
- All Known Implementing Classes:
ManilaRateLimit.ManilaLimit
- Enclosing interface:
- RateLimit
public static interface RateLimit.Limit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Date
getNextAvailable()
int
getRemaining()
RateLimit.TimeIntervalUnit
getUnit()
int
getValue()
HttpMethod
getVerb()
-
-
-
Method Detail
-
getValue
int getValue()
- Returns:
- the number of API requests that are allowed during a time interval
-
getVerb
HttpMethod getVerb()
- Returns:
- the HTTP method for the API request
-
getRemaining
int getRemaining()
- Returns:
- the remaining number of allowed requests
-
getUnit
RateLimit.TimeIntervalUnit getUnit()
- Returns:
- the time interval during which a number of API requests are allowed
-
getNextAvailable
Date getNextAvailable()
- Returns:
- the date and time stamp when next issues are available
-
-