Class SubmissionPublisher<T>
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class SubmissionPublisher<T> : JVMBridgeBase<SubmissionPublisher<T>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Type Parameters
T
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SubmissionPublisher<T>>SubmissionPublisher<T>
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<SubmissionPublisher<T>>.SExecuteWithSignatureArray<T>(string, string, params object[])JVMBridgeBase<SubmissionPublisher<T>>.IsAssignableFrom(IJavaType)JVMBridgeBase<SubmissionPublisher<T>>.IsAssignableFrom<T>()JVMBridgeBase<SubmissionPublisher<T>>.Execute<T>(params T[])JVMBridgeBase<SubmissionPublisher<T>>.DynBridgeClazzJVMBridgeBase<SubmissionPublisher<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
- Extension Methods
Constructors
SubmissionPublisher()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public SubmissionPublisher()
SubmissionPublisher(Executor, int)
public SubmissionPublisher(Executor arg0, int arg1)
Parameters
SubmissionPublisher(Executor, int, BiConsumer)
public SubmissionPublisher(Executor arg0, int arg1, BiConsumer arg2)
Parameters
arg0
Executorarg1
intarg2
BiConsumer
SubmissionPublisher(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
public SubmissionPublisher(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
ClosedException
public Throwable ClosedException { get; }
Property Value
Executor
public Executor Executor { 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
MaxBufferCapacity
public int MaxBufferCapacity { get; }
Property Value
NumberOfSubscribers
public int NumberOfSubscribers { get; }
Property Value
Subscribers
public List Subscribers { get; }
Property Value
Methods
Close()
public void Close()
CloseExceptionally(JVMBridgeException)
public void CloseExceptionally(JVMBridgeException arg0)
Parameters
arg0
JVMBridgeException
Consume<Arg0objectSuperT>(Consumer<Arg0objectSuperT>)
public CompletableFuture<Void> Consume<Arg0objectSuperT>(Consumer<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
Returns
Type Parameters
Arg0objectSuperT
T
EstimateMaximumLag()
public int EstimateMaximumLag()
Returns
EstimateMinimumDemand()
public long EstimateMinimumDemand()
Returns
HasSubscribers()
public bool HasSubscribers()
Returns
IsClosed()
public bool IsClosed()
Returns
IsSubscribed<Arg0objectSuperT>(Subscriber<Arg0objectSuperT>)
public bool IsSubscribed<Arg0objectSuperT>(Flow.Subscriber<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
Flow.Subscriber<Arg0objectSuperT>
Returns
Type Parameters
Arg0objectSuperT
T
Offer<Arg1objectSuperT>(T, BiPredicate<Subscriber<Arg1objectSuperT>, Arg1objectSuperT>)
public int Offer<Arg1objectSuperT>(T arg0, BiPredicate<Flow.Subscriber<Arg1objectSuperT>, Arg1objectSuperT> arg1) where Arg1objectSuperT : T
Parameters
arg0
TT
arg1
BiPredicate<Flow.Subscriber<Arg1objectSuperT>, Arg1objectSuperT>
Returns
Type Parameters
Arg1objectSuperT
T
Offer<Arg3objectSuperT>(T, long, TimeUnit, BiPredicate<Subscriber<Arg3objectSuperT>, Arg3objectSuperT>)
public int Offer<Arg3objectSuperT>(T arg0, long arg1, TimeUnit arg2, BiPredicate<Flow.Subscriber<Arg3objectSuperT>, Arg3objectSuperT> arg3) where Arg3objectSuperT : T
Parameters
arg0
TT
arg1
longarg2
TimeUnitarg3
BiPredicate<Flow.Subscriber<Arg3objectSuperT>, Arg3objectSuperT>
Returns
Type Parameters
Arg3objectSuperT
T
Submit(T)
public int Submit(T arg0)
Parameters
arg0
TT
Returns
Subscribe<Arg0objectSuperT>(Subscriber<Arg0objectSuperT>)
public void Subscribe<Arg0objectSuperT>(Flow.Subscriber<Arg0objectSuperT> arg0) where Arg0objectSuperT : T
Parameters
arg0
Flow.Subscriber<Arg0objectSuperT>
Type Parameters
Arg0objectSuperT
T
Operators
implicit operator AutoCloseable(SubmissionPublisher<T>)
Converter from SubmissionPublisher<T> to AutoCloseable
public static implicit operator AutoCloseable(SubmissionPublisher<T> t)
Parameters
t
SubmissionPublisher<T>
Returns
implicit operator SubmissionPublisher(SubmissionPublisher<T>)
Converter from SubmissionPublisher<T> to SubmissionPublisher
public static implicit operator SubmissionPublisher(SubmissionPublisher<T> t)
Parameters
t
SubmissionPublisher<T>