Interface FutureData<T>
-
- All Known Implementing Classes:
FutureDataModel
public interface FutureData<T>Inugami heavily use multi-threading principle. All tasks will return a FutureData<T>.- Since:
- 9 août 2017
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetChannel()TgetData()GenericEventgetEvent()Future<T>getFuture()ProviderTaskgetTask()longgetTimeout()TimeUnitgetTimeUnit()List<OnDoneFunction<T>>onDone()List<OnErrorFunction<T>>onError()
-
-
-
Method Detail
-
getChannel
String getChannel()
-
getData
T getData()
-
getEvent
GenericEvent getEvent()
-
getTimeout
long getTimeout()
-
getTimeUnit
TimeUnit getTimeUnit()
-
onDone
List<OnDoneFunction<T>> onDone()
-
onError
List<OnErrorFunction<T>> onError()
-
getTask
ProviderTask getTask()
-
-