类 FileCacheStore
- java.lang.Object
-
- org.apache.dubbo.common.cache.FileCacheStore
-
public class FileCacheStore extends Object
Local file interaction class that can back different caches.All items in local file are of human friendly format.
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classFileCacheStore.Builder
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddestroy()Map<String,String>loadCache(int entrySize)static FileCacheStore.BuildernewBuilder()voidrefreshCache(Map<String,String> properties, String comment, long maxFileSize)
-
-
-
方法详细资料
-
loadCache
public Map<String,String> loadCache(int entrySize) throws IOException
- 抛出:
IOException
-
refreshCache
public void refreshCache(Map<String,String> properties, String comment, long maxFileSize)
-
destroy
public void destroy()
-
newBuilder
public static FileCacheStore.Builder newBuilder()
-
-