Class SubmissionPublisher
- Namespace
- Java.Util.Concurrent
- Assembly
- MASES.JNet.dll
public class SubmissionPublisher : JVMBridgeBase<SubmissionPublisher>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SubmissionPublisher>SubmissionPublisher
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<SubmissionPublisher>.SExecuteWithSignature(IJavaType, string, string, params object[])JVMBridgeBase<SubmissionPublisher>.SExecute<TNewClass, TReturn, TConverter>(string, params object[])JVMBridgeBase<SubmissionPublisher>.IsAssignableFrom(IJavaType)JVMBridgeBase<SubmissionPublisher>.IsAssignableFrom<T>()JVMBridgeBase<SubmissionPublisher>.Execute<T>(params T[])JVMBridgeBase<SubmissionPublisher>.DynBridgeClazzJVMBridgeBase<SubmissionPublisher>.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(Consumer)
public CompletableFuture Consume(Consumer arg0)
Parameters
Returns
EstimateMaximumLag()
public int EstimateMaximumLag()
Returns
EstimateMinimumDemand()
public long EstimateMinimumDemand()
Returns
HasSubscribers()
public bool HasSubscribers()
Returns
IsClosed()
public bool IsClosed()
Returns
IsSubscribed(Subscriber)
public bool IsSubscribed(Flow.Subscriber arg0)
Parameters
Returns
Offer(object, BiPredicate)
public int Offer(object arg0, BiPredicate arg1)
Parameters
arg0
objectarg1
BiPredicate
Returns
Offer(object, long, TimeUnit, BiPredicate)
public int Offer(object arg0, long arg1, TimeUnit arg2, BiPredicate arg3)
Parameters
arg0
objectarg1
longarg2
TimeUnitarg3
BiPredicate
Returns
Submit(object)
public int Submit(object arg0)
Parameters
Returns
Subscribe(Subscriber)
public void Subscribe(Flow.Subscriber arg0)
Parameters
Operators
implicit operator AutoCloseable(SubmissionPublisher)
Converter from SubmissionPublisher to AutoCloseable
public static implicit operator AutoCloseable(SubmissionPublisher t)