public class BatchBlock_1<T extends IJCOBridgeReflected> extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Threading.Tasks.Dataflow.BatchBlock`1
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=8.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.BatchBlock`1
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BatchBlock_1() |
BatchBlock_1(int batchSize) |
BatchBlock_1(int batchSize,
GroupingDataflowBlockOptions dataflowBlockOptions) |
BatchBlock_1(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BatchBlock_1 |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BatchBlock_1, a cast assert is made to check if types are compatible. |
void |
Complete() |
int |
getBatchSize() |
Task |
getCompletion() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getOutputCount() |
IDisposable |
LinkTo(ITargetBlock_1 target,
DataflowLinkOptions linkOptions) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
TriggerBatch() |
boolean |
TryReceive(Predicate_1 filter,
JCORefOut<T[]> item) |
boolean |
TryReceiveAll(JCORefOut<IList_1> items) |
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 BatchBlock_1()
throws java.lang.Throwable
java.lang.Throwablepublic BatchBlock_1(int batchSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
AggregateException,
TaskSchedulerException,
RankException,
ArrayTypeMismatchException
public BatchBlock_1(int batchSize,
GroupingDataflowBlockOptions dataflowBlockOptions)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
AggregateException,
TaskSchedulerException,
EventSourceException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionAggregateExceptionTaskSchedulerExceptionEventSourceExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionpublic BatchBlock_1(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static BatchBlock_1 cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BatchBlock_1, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBatchBlock_1 instancejava.lang.Throwable - in case of error during cast operationpublic void Complete()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentNullException,
AggregateException,
OutOfMemoryException,
EventSourceException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionAggregateExceptionOutOfMemoryExceptionEventSourceExceptionpublic int getBatchSize()
throws java.lang.Throwable
java.lang.Throwablepublic Task getCompletion() throws java.lang.Throwable
java.lang.Throwablepublic 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 int getOutputCount()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException
public IDisposable LinkTo(ITargetBlock_1 target, DataflowLinkOptions linkOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, FormatException, TaskSchedulerException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionFormatExceptionTaskSchedulerExceptionpublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void TriggerBatch()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
ArgumentNullException,
AggregateException,
EventSourceException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionAggregateExceptionEventSourceExceptionpublic boolean TryReceive(Predicate_1 filter, JCORefOut<T[]> item) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, ArgumentNullException, OutOfMemoryException, TaskSchedulerException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionOutOfMemoryExceptionTaskSchedulerExceptionpublic boolean TryReceiveAll(JCORefOut<IList_1> items) throws java.lang.Throwable, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, ArgumentNullException, OutOfMemoryException, TaskSchedulerException
java.lang.ThrowableArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionIndexOutOfRangeExceptionArgumentNullExceptionOutOfMemoryExceptionTaskSchedulerException