pt.digitalis.dif.utils.cache
Class CacheInfo

java.lang.Object
  extended by pt.digitalis.dif.utils.cache.CacheInfo

public class CacheInfo
extends Object

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
16 de Mar de 2011

Constructor Summary
CacheInfo(CacheScope scope, long durationInSeconds)
           
 
Method Summary
protected  long getDurationInSeconds()
          Inspector for the 'durationInSeconds' attribute.
protected  CacheScope getScope()
          Inspector for the 'scope' attribute.
protected  void setDurationInSeconds(long durationInSeconds)
          Modifier for the 'durationInSeconds' attribute.
protected  void setScope(CacheScope scope)
          Modifier for the 'scope' attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheInfo

public CacheInfo(CacheScope scope,
                 long durationInSeconds)
Parameters:
durationInSeconds -
scope -
Method Detail

getDurationInSeconds

protected long getDurationInSeconds()
Inspector for the 'durationInSeconds' attribute.

Returns:
the durationInSeconds value

getScope

protected CacheScope getScope()
Inspector for the 'scope' attribute.

Returns:
the scope value

setDurationInSeconds

protected void setDurationInSeconds(long durationInSeconds)
Modifier for the 'durationInSeconds' attribute.

Parameters:
durationInSeconds - the new durationInSeconds value to set

setScope

protected void setScope(CacheScope scope)
Modifier for the 'scope' attribute.

Parameters:
scope - the new scope value to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.