public static class ProcessorMetaSupplier.ExpectNothingProcessorSupplier extends Object implements ProcessorSupplier, IdentifiedDataSerializable
ProcessorSupplier.Context| Constructor and Description |
|---|
ExpectNothingProcessorSupplier() |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Processor> |
get(int count)
Called after
ProcessorSupplier.init(Context) to retrieve instances of
Processor that will be used during the execution of the Jet job. |
int |
getClassId()
Returns type identifier for this class.
|
int |
getFactoryId()
Returns DataSerializableFactory factory ID for this class.
|
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, closeIsCooperative, init, initIsCooperative, of@Nonnull public Collection<? extends Processor> get(int count)
ProcessorSupplierProcessorSupplier.init(Context) to retrieve instances of
Processor that will be used during the execution of the Jet job.get in interface ProcessorSuppliercount - the number of processor this method is required to create
and return. It is equal to ProcessorMetaSupplier.Context.localParallelism().public void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
output stream has been closed.public void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOException - if an I/O error occurs. In particular,
an IOException may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getClassId()
IdentifiedDataSerializablegetClassId in interface IdentifiedDataSerializableCopyright © 2023 Hazelcast, Inc.. All rights reserved.