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, wait
close, closeIsCooperative, init, initIsCooperative, of
@Nonnull public Collection<? extends Processor> get(int count)
ProcessorSupplier
ProcessorSupplier.init(Context)
to retrieve instances of
Processor
that will be used during the execution of the Jet job.get
in interface ProcessorSupplier
count
- 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
DataSerializable
writeData
in interface DataSerializable
out
- 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
DataSerializable
readData
in interface DataSerializable
in
- inputIOException
- if an I/O error occurs. In particular,
an IOException
may be thrown if the
input stream has been closed.public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getClassId()
IdentifiedDataSerializable
getClassId
in interface IdentifiedDataSerializable
Copyright © 2024 Hazelcast, Inc.. All rights reserved.