类 ConcurrentReferenceHashMap.Task<T>
java.lang.Object
cn.taketoday.util.ConcurrentReferenceHashMap.Task<T>
- 封闭类:
- ConcurrentReferenceHashMap<K,
V>
A task that can be
run against a ConcurrentReferenceHashMap<K,V>.Segment .-
字段概要
字段修饰符和类型字段说明 -
构造器概要
构造器构造器说明Task(ConcurrentReferenceHashMap.TaskOption option1, ConcurrentReferenceHashMap.TaskOption option2) -
方法概要
修饰符和类型方法说明protected Texecute(ConcurrentReferenceHashMap.Reference<K, V> ref, ConcurrentReferenceHashMap.Entry<K, V> entry) Convenience method that can be used for tasks that do not need access toConcurrentReferenceHashMap.Entries.protected Texecute(ConcurrentReferenceHashMap.Reference<K, V> ref, ConcurrentReferenceHashMap.Entry<K, V> entry, ConcurrentReferenceHashMap.Entries entries) Execute the task.final boolean
-
字段详细资料
-
option1
-
option2
-
-
构造器详细资料
-
Task
public Task(ConcurrentReferenceHashMap.TaskOption option1, ConcurrentReferenceHashMap.TaskOption option2)
-
-
方法详细资料
-
hasOption
-
execute
@Nullable protected T execute(@Nullable ConcurrentReferenceHashMap.Reference<K, V> ref, @Nullable ConcurrentReferenceHashMap.Entry<K, V> entry, @Nullable ConcurrentReferenceHashMap.Entries entries) Execute the task.- 参数:
ref- the found reference (ornull)entry- the found entry (ornull)entries- access to the underlying entries- 返回:
- the result of the task
- 另请参阅:
-
execute
@Nullable protected T execute(@Nullable ConcurrentReferenceHashMap.Reference<K, V> ref, @Nullable ConcurrentReferenceHashMap.Entry<K, V> entry) Convenience method that can be used for tasks that do not need access toConcurrentReferenceHashMap.Entries.- 参数:
ref- the found reference (ornull)entry- the found entry (ornull)- 返回:
- the result of the task
- 另请参阅:
-