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();
if (replicationIsPassivation == true)
replicationIsPassivation = annotation.replicationIsPassivation();
|
public java.lang.String | name()
return name;
|
public long | removalTimeoutSeconds()
return removalTimeoutSeconds;
|
public boolean | replicationIsPassivation()
return replicationIsPassivation;
|
public void | setIdleTimeoutSeconds(long idleTimeoutSeconds)
this.idleTimeoutSeconds = idleTimeoutSeconds;
|
public void | setMaxSize(int maxSize)
this.maxSize = maxSize;
|
public void | setName(java.lang.String name)
this.name = name;
|
public void | setRemovalTimeoutSeconds(long removalTimeoutSeconds)
this.removalTimeoutSeconds = removalTimeoutSeconds;
|
public void | setReplicationIsPassivation(boolean replicationIsPassivation)
this.replicationIsPassivation = replicationIsPassivation;
|