Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


oracle.stellent.wcm.core.config.jaxb
Class JAXBCacheConfiguration

java.lang.Object
  extended by oracle.stellent.wcm.core.config.jaxb.JAXBCacheConfiguration

All Implemented Interfaces:
CacheConfiguration

public class JAXBCacheConfiguration
extends java.lang.Object
implements CacheConfiguration

Field Summary

 

Fields inherited from interface oracle.stellent.wcm.core.config.CacheConfiguration
PROPERTY_CHECK_LOCAL_FS, PROPERTY_MAX_SIZE, PROPERTY_TIMEOUT_MILLIS

 

Constructor Summary
JAXBCacheConfiguration()
           
JAXBCacheConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType cacheType)
           

 

Method Summary
 java.util.Set<java.lang.String> getCacheProperties()
           
 java.lang.String getCacheProperty(java.lang.String name)
          A cache property
 int getMaxSize()
           
 oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType getModel()
           
 long getTimeoutMillis()
           
 boolean isCheckLocalFS()
           
 boolean isEnabled()
           
 void setCacheProperty(java.lang.String name, java.lang.String value)
          Set a connection property
 void setCheckLocalFS(boolean checkLocalFS)
          Set to enable checking of the local file system
 void setEnabled(boolean enabled)
           
 void setMaxSize(int size)
          Set the max size of the cache
 void setTimeoutMillis(long timeout)
          Set the timeout value

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JAXBCacheConfiguration

public JAXBCacheConfiguration()

JAXBCacheConfiguration

public JAXBCacheConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType cacheType)

Method Detail

getModel

public oracle.stellent.wcm.core.config.jaxb.model.ContentCacheType getModel()

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface CacheConfiguration
Returns:
true if the cache is enabled

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface CacheConfiguration
Parameters:
enabled - true to enable caching

getCacheProperty

public java.lang.String getCacheProperty(java.lang.String name)
A cache property
Specified by:
getCacheProperty in interface CacheConfiguration
Parameters:
name - the property name
Returns:
the property value

setCacheProperty

public void setCacheProperty(java.lang.String name,
                             java.lang.String value)
Set a connection property
Specified by:
setCacheProperty in interface CacheConfiguration
Parameters:
name - the name
value - the value (if null, removes the property)

getCacheProperties

public java.util.Set<java.lang.String> getCacheProperties()
Specified by:
getCacheProperties in interface CacheConfiguration
Returns:
the available cache properties

getMaxSize

public int getMaxSize()
Specified by:
getMaxSize in interface CacheConfiguration
Returns:
the maximum size the of the content cache
See Also:
CacheConfiguration.PROPERTY_MAX_SIZE

setMaxSize

public void setMaxSize(int size)
Set the max size of the cache
Specified by:
setMaxSize in interface CacheConfiguration
Parameters:
size - the size

getTimeoutMillis

public long getTimeoutMillis()
Specified by:
getTimeoutMillis in interface CacheConfiguration
Returns:
the timeout in milliseconds for items in the cache
See Also:
CacheConfiguration.PROPERTY_TIMEOUT_MILLIS

setTimeoutMillis

public void setTimeoutMillis(long timeout)
Set the timeout value
Specified by:
setTimeoutMillis in interface CacheConfiguration
Parameters:
timeout - the timeout in milliseconds

isCheckLocalFS

public boolean isCheckLocalFS()
Returns:
true to check the local file system for staged content

setCheckLocalFS

public void setCheckLocalFS(boolean checkLocalFS)
Set to enable checking of the local file system
Specified by:
setCheckLocalFS in interface CacheConfiguration
Parameters:
checkLocalFS - true to check the file system

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.