public class SimpleCacheServiceProvider extends Object implements CacheServiceProvider
Created by luog on 23/02/14.
CacheServiceProvider.Impl| Modifier and Type | Field and Description |
|---|---|
static SimpleCacheServiceProvider |
INSTANCE |
| Constructor and Description |
|---|
SimpleCacheServiceProvider() |
public static SimpleCacheServiceProvider INSTANCE
public org.osgl.cache.CacheService get()
CacheServiceProviderGet default cache service instance. The the default cache service is not there yet, then create the default cache service instance
get in interface CacheServiceProviderpublic org.osgl.cache.CacheService get(String name)
CacheServiceProviderGet cache service instance by name. If the service with the name is not there yet, then create the instance
get in interface CacheServiceProvidername - the name of the cache serviceCopyright © 2017 OSGL (Open Source General Library). All rights reserved.