@ParametersAreNonnullByDefault public interface StoreListener
Backend
.Modifier and Type | Method and Description |
---|---|
void |
onClose()
Handles the closure of the back-end.
|
<K,V> void |
onFailure(FailureCallReport<K,V> callReport)
Handles a failed call on the back-end.
|
void |
onInitialize()
Handles the initialization of the back-end.
|
<K,V,R> void |
onSuccess(SuccessCallReport<K,V,R> callReport)
Handles a succeeded call on the back-end.
|
void onInitialize()
This method is called after the initialization of the back-end.
<K,V,R> void onSuccess(SuccessCallReport<K,V,R> callReport)
K
- the type of the key used during the call; nullableV
- the type of the value used during the call; nullableR
- the type of the result of the call; nullablecallReport
- information about the call<K,V> void onFailure(FailureCallReport<K,V> callReport)
K
- the type of the key used during the call; nullableV
- the type of the value used during the call; nullablecallReport
- information about the callvoid onClose()
This method is called after closing the back-end.
Copyright © 2013–2019 Atlanmod. All rights reserved.