de.smartics.properties.spi.config.cache
Class CacheEntryConfiguration

Package class diagram package CacheEntryConfiguration
java.lang.Object
  extended by de.smartics.properties.spi.config.cache.CacheEntryConfiguration
All Implemented Interfaces:
Serializable

public final class CacheEntryConfiguration
     
     
extends Object
implements Serializable

The configuration for cache entries.

See Also:
Serialized Form

Constructor Summary
CacheEntryConfiguration(CacheEntryConfigurationType enumEntry)
          Constructor to build an cache configuration for an entry.
 
Method Summary
 int getLifespan()
          Returns the intendet lifespan of an entry.
 TimeUnit getLifespanTimeUnit()
          Returns the time unit TimeUnit for the intended lifespan of an entry.
 int getMaxIdleTime()
          Returns the intended max idle time of an entry.
 TimeUnit getMaxIdleTimeTimeUnit()
          Returns the time unit TimeUnit for the max idle time of an entry.
 String toString()
          Returns the string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheEntryConfiguration

public CacheEntryConfiguration(CacheEntryConfigurationType enumEntry)
Constructor to build an cache configuration for an entry.

Parameters:
enumEntry - the type of the entry.
Method Detail

getLifespan

public int getLifespan()
Returns the intendet lifespan of an entry.

Returns:
the lifespan.

getLifespanTimeUnit

public TimeUnit getLifespanTimeUnit()
Returns the time unit TimeUnit for the intended lifespan of an entry.

Returns:
the time unit for the lifespan of an entry.

getMaxIdleTime

public int getMaxIdleTime()
Returns the intended max idle time of an entry.

Returns:
the max idle time of an entry.

getMaxIdleTimeTimeUnit

public TimeUnit getMaxIdleTimeTimeUnit()
Returns the time unit TimeUnit for the max idle time of an entry.

Returns:
the max idle time time unit for an entry.

toString

public String toString()
Returns the string representation of the object.

Overrides:
toString in class Object
Returns:
the string representation of the object.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.