GigaSpaces XAP 10.0.1 API

org.openspaces.core.config
Class CustomCachePolicyFactoryBean

java.lang.Object
  extended by org.openspaces.core.config.CustomCachePolicyFactoryBean
All Implemented Interfaces:
InitializingBean

public class CustomCachePolicyFactoryBean
extends Object
implements InitializingBean

A factory for creating CustomCachePolicy instance.

Since:
9.1
Author:
idan

Constructor Summary
CustomCachePolicyFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 CachePolicy asCachePolicy()
           
 Integer getInitialLoadPercentage()
           
 Integer getSize()
           
 SpaceEvictionStrategy getSpaceEvictionStrategy()
           
 void setInitialLoadPercentage(Integer initialLoadPercentage)
           
 void setSize(Integer size)
           
 void setSpaceEvictionStrategy(SpaceEvictionStrategy spaceEvictionStrategy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomCachePolicyFactoryBean

public CustomCachePolicyFactoryBean()
Method Detail

getSize

public Integer getSize()

setSize

public void setSize(Integer size)

getInitialLoadPercentage

public Integer getInitialLoadPercentage()

setInitialLoadPercentage

public void setInitialLoadPercentage(Integer initialLoadPercentage)

getSpaceEvictionStrategy

public SpaceEvictionStrategy getSpaceEvictionStrategy()

setSpaceEvictionStrategy

public void setSpaceEvictionStrategy(SpaceEvictionStrategy spaceEvictionStrategy)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

asCachePolicy

public CachePolicy asCachePolicy()

GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.