public class DataflowBlock extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Threading.Tasks.Dataflow.DataflowBlock
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Threading.Tasks.Dataflow, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Threading.Tasks.Dataflow
|
static java.lang.String |
className
Qualified class name: System.Threading.Tasks.Dataflow.DataflowBlock
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DataflowBlock() |
DataflowBlock(java.lang.Object instance)
Internal constructor.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic DataflowBlock()
throws java.lang.Throwable
java.lang.Throwablepublic DataflowBlock(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static <TOutput extends IJCOBridgeReflected> IObservable_1 AsObservable(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public static <TInput extends IJCOBridgeReflected> IObserver_1 AsObserver(ITargetBlock_1 target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static DataflowBlock cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DataflowBlock, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDataflowBlock instancejava.lang.Throwable - in case of error during cast operationpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, TaskSchedulerException, PlatformNotSupportedException, OutOfMemoryException, ObjectDisposedException, AggregateException
public static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, DataflowBlockOptions dataflowBlockOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, EventSourceException, AggregateException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionEventSourceExceptionAggregateExceptionTaskSchedulerExceptionpublic static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, ISourceBlock_1 source3, Action_1 action3) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, TaskSchedulerException, PlatformNotSupportedException, OutOfMemoryException, ObjectDisposedException, AggregateException
public static <T1 extends IJCOBridgeReflected,T2 extends IJCOBridgeReflected,T3 extends IJCOBridgeReflected> Task_1 Choose(ISourceBlock_1 source1, Action_1 action1, ISourceBlock_1 source2, Action_1 action2, ISourceBlock_1 source3, Action_1 action3, DataflowBlockOptions dataflowBlockOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, EventSourceException, AggregateException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionEventSourceExceptionAggregateExceptionTaskSchedulerExceptionpublic static <TInput extends IJCOBridgeReflected,TOutput extends IJCOBridgeReflected> IPropagatorBlock_2 Encapsulate(ITargetBlock_1 target, ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target, DataflowLinkOptions linkOptions, Predicate_1 predicate) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static <TOutput extends IJCOBridgeReflected> IDisposable LinkTo(ISourceBlock_1 source, ITargetBlock_1 target, Predicate_1 predicate) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionpublic static <TInput extends IJCOBridgeReflected> ITargetBlock_1 NullTarget() throws java.lang.Throwable
java.lang.Throwablepublic static <TOutput extends IJCOBridgeReflected> Task_1 OutputAvailableAsync(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static <TOutput extends IJCOBridgeReflected> Task_1 OutputAvailableAsync(ISourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionArgumentNullExceptionPlatformNotSupportedExceptionArgumentOutOfRangeExceptionpublic static <TInput extends IJCOBridgeReflected> boolean Post(ITargetBlock_1 target, TInput item) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static <TOutput extends IJCOBridgeReflected> IAsyncEnumerable_1 ReceiveAllAsync(IReceivableSourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, TaskSchedulerException, ObjectDisposedException, PlatformNotSupportedException, AggregateException
public static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, TaskSchedulerException, ObjectDisposedException, PlatformNotSupportedException, AggregateException
public static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, TimeSpan timeout) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, TaskSchedulerException, ObjectDisposedException, PlatformNotSupportedException, AggregateException
public static <TOutput extends IJCOBridgeReflected> Task_1 ReceiveAsync(ISourceBlock_1 source, TimeSpan timeout, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, AggregateException, OutOfMemoryException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionAggregateExceptionOutOfMemoryExceptionTaskSchedulerExceptionpublic static <TInput extends IJCOBridgeReflected> Task_1 SendAsync(ITargetBlock_1 target, TInput item) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, NullReferenceException, OutOfMemoryException, TaskSchedulerException
public static <TInput extends IJCOBridgeReflected> Task_1 SendAsync(ITargetBlock_1 target, TInput item, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionTaskSchedulerExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic static <TOutput extends IJCOBridgeReflected> boolean TryReceive(IReceivableSourceBlock_1 source, JCORefOut<TOutput> item) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException