Package org.redisson
Interface SlotCallback<T,R>
- Type Parameters:
T
- type of batch resultR
- type of result
- All Known Implementing Classes:
BooleanSlotCallback
,IntegerSlotCallback
,LongSlotCallback
,VoidSlotCallback
public interface SlotCallback<T,R>
- Author:
- Nikita Koksharov
-
Method Summary
Modifier and TypeMethodDescriptiondefault RedisCommand
<T> createCommand
(List<Object> params) default Object[]
createKeys
(MasterSlaveEntry entry, List<Object> params) default Object[]
createParams
(List<Object> params) onFinish()
void
onSlotResult
(List<Object> keys, T result)
-
Method Details
-
createCommand
-
createKeys
-
createParams
-
onSlotResult
-
onFinish
R onFinish()
-