Interface ITLimitManager
-
public interface ITLimitManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteAllLimits()List<LimitBean>getAllLimits()intgetCachedExpiry(String key)intgetCachedLimit(String key)LimitsSetBeaninstallLimits(InputStream is)Install a limitsvoidupdateAllLimits(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)
-
-