public class TestProcessorSupplierContext extends Object implements ProcessorSupplier.Context
ProcessorSupplier.Context
.Constructor and Description |
---|
TestProcessorSupplierContext() |
Modifier and Type | Method and Description |
---|---|
JetInstance |
jetInstance()
Returns the current Jet instance
|
int |
localParallelism()
Returns the number of processors that the associated
ProcessorSupplier
will be asked to create. |
com.hazelcast.logging.ILogger |
logger()
Returns a logger for the associated
ProcessorSupplier . |
TestProcessorSupplierContext |
setJetInstance(JetInstance jetInstance)
Set the jet instance.
|
TestProcessorSupplierContext |
setLocalParallelism(int localParallelism)
Set local parallelism.
|
public JetInstance jetInstance()
ProcessorSupplier.Context
jetInstance
in interface ProcessorSupplier.Context
public TestProcessorSupplierContext setJetInstance(JetInstance jetInstance)
public int localParallelism()
ProcessorSupplier.Context
ProcessorSupplier
will be asked to create.localParallelism
in interface ProcessorSupplier.Context
@Nonnull public com.hazelcast.logging.ILogger logger()
ProcessorSupplier.Context
ProcessorSupplier
.logger
in interface ProcessorSupplier.Context
public TestProcessorSupplierContext setLocalParallelism(int localParallelism)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.