org.infinispan.loaders
Class CacheLoaderManagerImpl

java.lang.Object
  extended by org.infinispan.loaders.CacheLoaderManagerImpl
All Implemented Interfaces:
Lifecycle, CacheLoaderManager

public class CacheLoaderManagerImpl
extends Object
implements CacheLoaderManager


Constructor Summary
CacheLoaderManagerImpl()
           
 
Method Summary
 CacheLoader getCacheLoader()
           
 CacheStore getCacheStore()
           
 void inject(Cache cache, StreamingMarshaller marshaller, Configuration configuration)
           
 boolean isEnabled()
           
 boolean isFetchPersistentState()
           
 boolean isShared()
           
 boolean isUsingPassivation()
           
 void preload()
          Performs a preload on the cache based on the cache loader preload configs used when configuring the cache.
 void purge()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheLoaderManagerImpl

public CacheLoaderManagerImpl()
Method Detail

inject

public void inject(Cache cache,
                   StreamingMarshaller marshaller,
                   Configuration configuration)

getCacheLoader

public CacheLoader getCacheLoader()
Specified by:
getCacheLoader in interface CacheLoaderManager

getCacheStore

public final CacheStore getCacheStore()
Specified by:
getCacheStore in interface CacheLoaderManager

purge

public void purge()
Specified by:
purge in interface CacheLoaderManager

isUsingPassivation

public boolean isUsingPassivation()
Specified by:
isUsingPassivation in interface CacheLoaderManager

isShared

public boolean isShared()
Specified by:
isShared in interface CacheLoaderManager

isFetchPersistentState

public boolean isFetchPersistentState()
Specified by:
isFetchPersistentState in interface CacheLoaderManager

start

public void start()
Specified by:
start in interface Lifecycle

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface CacheLoaderManager

preload

public void preload()
Performs a preload on the cache based on the cache loader preload configs used when configuring the cache.

Specified by:
preload in interface CacheLoaderManager

stop

public void stop()
Specified by:
stop in interface Lifecycle

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.