EntityCache

public class EntityCache extends BaseCache

Properties

Link copied to clipboard
public final static EntityCache INSTANCE

Functions

Link copied to clipboard
public final Unit addEntity(Entity entity, String value)
public final Unit addEntity(Entity entity, String owner, String setting)
Link copied to clipboard
public final Pair<String, BaseSetting> getEntityInfo(Entity entity)
Link copied to clipboard
public Unit init(CacheManager cacheManager)

初始化

Link copied to clipboard
public final CuckooFilter loadFilter(File file)
Link copied to clipboard
Link copied to clipboard
public Unit onSave()

保存

Link copied to clipboard
public Unit reloadFilter()
Link copied to clipboard
public final Unit removeEntity(Entity entity)
Link copied to clipboard
public final Unit saveFilter(File file, CuckooFilter filter)
Link copied to clipboard
public CacheManagerBuilder<PersistentCacheManager> setCache(CacheManagerBuilder<PersistentCacheManager> builder)

设置缓存

Link copied to clipboard
public final Long string2FilterKey(String str)