org.exoplatform.settings.cache
Class CacheSettingServiceImpl

java.lang.Object
  extended by org.exoplatform.settings.cache.CacheSettingServiceImpl
All Implemented Interfaces:
org.exoplatform.commons.api.settings.SettingService

public class CacheSettingServiceImpl
extends Object
implements org.exoplatform.commons.api.settings.SettingService

Created by The eXo Platform SAS Author : eXoPlatform bangnv@exoplatform.com Nov 15, 2012


Field Summary
protected  org.exoplatform.services.cache.future.FutureExoCache<org.exoplatform.commons.api.settings.data.SettingKey,org.exoplatform.commons.api.settings.SettingValue,SettingServiceImpl> futureExoCache
           
protected  org.exoplatform.services.cache.ExoCache<org.exoplatform.commons.api.settings.data.SettingKey,org.exoplatform.commons.api.settings.SettingValue> settingCache
           
 
Constructor Summary
CacheSettingServiceImpl(SettingServiceImpl service, org.exoplatform.services.cache.CacheService cacheService)
           
 
Method Summary
 org.exoplatform.commons.api.settings.SettingValue<?> get(org.exoplatform.commons.api.settings.data.Context context, org.exoplatform.commons.api.settings.data.Scope scope, String key)
           
 void remove(org.exoplatform.commons.api.settings.data.Context context)
           
 void remove(org.exoplatform.commons.api.settings.data.Context context, org.exoplatform.commons.api.settings.data.Scope scope)
           
 void remove(org.exoplatform.commons.api.settings.data.Context context, org.exoplatform.commons.api.settings.data.Scope scope, String key)
           
 void set(org.exoplatform.commons.api.settings.data.Context context, org.exoplatform.commons.api.settings.data.Scope scope, String key, org.exoplatform.commons.api.settings.SettingValue<?> value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

settingCache

protected org.exoplatform.services.cache.ExoCache<org.exoplatform.commons.api.settings.data.SettingKey,org.exoplatform.commons.api.settings.SettingValue> settingCache

futureExoCache

protected org.exoplatform.services.cache.future.FutureExoCache<org.exoplatform.commons.api.settings.data.SettingKey,org.exoplatform.commons.api.settings.SettingValue,SettingServiceImpl> futureExoCache
Constructor Detail

CacheSettingServiceImpl

public CacheSettingServiceImpl(SettingServiceImpl service,
                               org.exoplatform.services.cache.CacheService cacheService)
Method Detail

set

public void set(org.exoplatform.commons.api.settings.data.Context context,
                org.exoplatform.commons.api.settings.data.Scope scope,
                String key,
                org.exoplatform.commons.api.settings.SettingValue<?> value)
Specified by:
set in interface org.exoplatform.commons.api.settings.SettingService

get

public org.exoplatform.commons.api.settings.SettingValue<?> get(org.exoplatform.commons.api.settings.data.Context context,
                                                                org.exoplatform.commons.api.settings.data.Scope scope,
                                                                String key)
Specified by:
get in interface org.exoplatform.commons.api.settings.SettingService

remove

public void remove(org.exoplatform.commons.api.settings.data.Context context,
                   org.exoplatform.commons.api.settings.data.Scope scope,
                   String key)
Specified by:
remove in interface org.exoplatform.commons.api.settings.SettingService

remove

public void remove(org.exoplatform.commons.api.settings.data.Context context,
                   org.exoplatform.commons.api.settings.data.Scope scope)
Specified by:
remove in interface org.exoplatform.commons.api.settings.SettingService

remove

public void remove(org.exoplatform.commons.api.settings.data.Context context)
Specified by:
remove in interface org.exoplatform.commons.api.settings.SettingService


Copyright © 2013 eXo Platform SAS. All Rights Reserved.