getValue method
Implementation
int getValue() {
switch (this) {
case CachingStrategy.Weekly:
return 7;
case CachingStrategy.Monthly:
return 30;
default:
return 0;
}
}
int getValue() {
switch (this) {
case CachingStrategy.Weekly:
return 7;
case CachingStrategy.Monthly:
return 30;
default:
return 0;
}
}