Methods Summary |
---|
public java.lang.Class | annotationType()
return CacheConfig.class;
|
public long | idleTimeoutSeconds()
return idleTimeoutSeconds;
|
public int | maxSize()
return maxSize;
|
public void | merge(CacheConfig annotation)
if (maxSize == 100000)
maxSize = annotation.maxSize();
if (idleTimeoutSeconds == 300)
idleTimeoutSeconds = annotation.idleTimeoutSeconds();
if (removalTimeoutSeconds == 0)
removalTimeoutSeconds = annotation.removalTimeoutSeconds();
|
public long | removalTimeoutSeconds()
return removalTimeoutSeconds;
|
public void | setIdleTimeoutSeconds(long idleTimeoutSeconds)
this.idleTimeoutSeconds = idleTimeoutSeconds;
|
public void | setMaxSize(int maxSize)
this.maxSize = maxSize;
|
public void | setRemovalTimeoutSeconds(long removalTimeoutSeconds)
this.removalTimeoutSeconds = removalTimeoutSeconds;
|