Class KafkaFuture<T>
public class KafkaFuture<T> : Future<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IFuture<T>
Type Parameters
T
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinitionIFuture<T>
- Inherited Members
-
JVMBridgeBase<Future<T>>.IsAssignableFrom(IJavaType)JVMBridgeBase<Future<T>>.IsAssignableFrom<T>()JVMBridgeBase<Future<T>>.Execute<T>(params T[])JVMBridgeBase<Future<T>>.DynBridgeClazzJVMBridgeBase<Future<T>>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
Constructors
KafkaFuture()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
[Obsolete("KafkaFuture class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KafkaFuture()
KafkaFuture(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
[Obsolete("KafkaFuture class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public KafkaFuture(params object[] args)
Parameters
args
object[]
Properties
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
Methods
AllOf(params KafkaFuture<object>[])
public static KafkaFuture<Void> AllOf(params KafkaFuture<object>[] arg0)
Parameters
arg0
KafkaFuture<object>[]
Returns
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
CompletedFuture<U>(U)
public static KafkaFuture<U> CompletedFuture<U>(U arg0)
Parameters
arg0
UU
Returns
Type Parameters
U
Get()
public T Get()
Returns
- T
T
Exceptions
Get(long, TimeUnit)
public T Get(long arg0, TimeUnit arg1)
Parameters
Returns
- T
T
Exceptions
GetNow(T)
public T GetNow(T arg0)
Parameters
arg0
TT
Returns
- T
T
Exceptions
IsCancelled()
public bool IsCancelled()
Returns
IsCompletedExceptionally()
public bool IsCompletedExceptionally()
Returns
IsDone()
public bool IsDone()
Returns
ThenApply<R>(BaseFunction<T, R>)
public KafkaFuture<R> ThenApply<R>(KafkaFuture.BaseFunction<T, R> arg0)
Parameters
arg0
KafkaFuture.BaseFunction<T, R>
Returns
Type Parameters
R
ToCompletionStage()
public CompletionStage<T> ToCompletionStage()
Returns
WhenComplete<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>)
public KafkaFuture<T> WhenComplete<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>(KafkaFuture.BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable> arg0) where Arg0objectSuperT : T where Arg0objectSuperJava_Lang_Throwable : Throwable
Parameters
arg0
KafkaFuture.BiConsumer<Arg0objectSuperT, Arg0objectSuperJava_Lang_Throwable>
Returns
Type Parameters
Arg0objectSuperT
T
Arg0objectSuperJava_Lang_Throwable
Operators
implicit operator KafkaFuture(KafkaFuture<T>)
Converter from KafkaFuture<T> to KafkaFuture
public static implicit operator KafkaFuture(KafkaFuture<T> t)
Parameters
t
KafkaFuture<T>