toggle menu
SakuraBind
2.4.4-dev2
jvm
switch theme
search in API
SakuraBind
/
top.iseason.bukkit.sakurabind.cache
/
EntityCache
Entity
Cache
public
class
EntityCache
extends
BaseCache
Members
Properties
INSTANCE
Link copied to clipboard
public
final
static
EntityCache
INSTANCE
Functions
add
Entity
Link copied to clipboard
public
final
Unit
addEntity
(
Entity
entity
,
String
value
)
public
final
Unit
addEntity
(
Entity
entity
,
String
owner
,
String
setting
)
get
Entity
Info
Link copied to clipboard
public
final
Pair
<
String
,
BaseSetting
>
getEntityInfo
(
Entity
entity
)
init
Link copied to clipboard
public
Unit
init
(
CacheManager
cacheManager
)
初始化
load
Filter
Link copied to clipboard
public
final
CuckooFilter
loadFilter
(
File
file
)
new
Filter
Link copied to clipboard
public
CuckooFilter
newFilter
(
)
on
Save
Link copied to clipboard
public
Unit
onSave
(
)
保存
reload
Filter
Link copied to clipboard
public
Unit
reloadFilter
(
)
remove
Entity
Link copied to clipboard
public
final
Unit
removeEntity
(
Entity
entity
)
save
Filter
Link copied to clipboard
public
final
Unit
saveFilter
(
File
file
,
CuckooFilter
filter
)
set
Cache
Link copied to clipboard
public
CacheManagerBuilder
<
PersistentCacheManager
>
setCache
(
CacheManagerBuilder
<
PersistentCacheManager
>
builder
)
设置缓存
string2Filter
Key
Link copied to clipboard
public
final
Long
string2FilterKey
(
String
str
)