FallingBlockCache

public class FallingBlockCache extends BaseCache

Properties

Link copied to clipboard
public final static FallingBlockCache INSTANCE

Functions

Link copied to clipboard
public final Unit addFalling(Entity entity, BlockInfo blockInfo)
Link copied to clipboard
public final BlockInfo getFallingInfo(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)