Interface ITLimitManager
-
public interface ITLimitManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteAllLimits()
List<LimitBean>
getAllLimits()
int
getCachedExpiry(String key)
int
getCachedLimit(String key)
LimitsSetBean
installLimits(InputStream is)
Install a limitsvoid
updateAllLimits(LimitsSetBean limitsSetBean)
-
-
-
Method Detail
-
installLimits
LimitsSetBean installLimits(InputStream is) throws RemoteException
Install a limits- Parameters:
is
- an inputstream to the limits- Returns:
- limits parsed from xml
- Throws:
RemoteException
- if it breaks
-
deleteAllLimits
void deleteAllLimits()
-
updateAllLimits
void updateAllLimits(LimitsSetBean limitsSetBean)
-
getCachedLimit
int getCachedLimit(String key)
-
getCachedExpiry
int getCachedExpiry(String key)
-
-