Uses of Interface
com.hazelcast.jet.core.ProcessorSupplier.Context
Packages that use ProcessorSupplier.Context
Package
Description
Jet's Core API.
Contains static utility classes with factories of Jet processors.
Utilities for writing tests of Core API Processors.
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
-
Uses of ProcessorSupplier.Context in com.hazelcast.jet.core
Subinterfaces of ProcessorSupplier.Context in com.hazelcast.jet.coreModifier and TypeInterfaceDescriptionstatic interfaceContext passed to the processor in theinit()call.Methods in com.hazelcast.jet.core with parameters of type ProcessorSupplier.ContextModifier and TypeMethodDescriptiondefault voidProcessorSupplier.init(ProcessorSupplier.Context context) Called on each cluster member after deserialization. -
Uses of ProcessorSupplier.Context in com.hazelcast.jet.core.processor
Method parameters in com.hazelcast.jet.core.processor with type arguments of type ProcessorSupplier.ContextModifier and TypeMethodDescriptionstatic <T> SupplierEx<Processor>Processors.insertWatermarksP(FunctionEx<ProcessorSupplier.Context, EventTimePolicy<? super T>> eventTimePolicyProvider) Returns a supplier of processors for a vertex that insertswatermark itemsinto the stream. -
Uses of ProcessorSupplier.Context in com.hazelcast.jet.core.test
Classes in com.hazelcast.jet.core.test that implement ProcessorSupplier.ContextModifier and TypeClassDescriptionclassProcessor.Contextimplementation suitable to be used in tests.classImplementation ofProcessorSupplier.Contextsuitable to be used in tests.Methods in com.hazelcast.jet.core.test with parameters of type ProcessorSupplier.ContextModifier and TypeMethodDescriptionTestSupport.supplierFrom(ProcessorMetaSupplier supplier, ProcessorSupplier.Context context) Wraps the providedProcessorMetaSupplierwith aSupplier<Processor>that returns processors obtained from it.TestSupport.supplierFrom(ProcessorSupplier supplier, ProcessorSupplier.Context context) Wraps the providedProcessorSupplierwith aSupplier<Processor>that returns processors obtained from it. -
Uses of ProcessorSupplier.Context in com.hazelcast.jet.pipeline
Methods in com.hazelcast.jet.pipeline that return types with arguments of type ProcessorSupplier.ContextModifier and TypeMethodDescriptionFunctionEx<? super ProcessorSupplier.Context,? extends C> ServiceFactory.createContextFn()Returns the function that creates the shared context object.Method parameters in com.hazelcast.jet.pipeline with type arguments of type ProcessorSupplier.ContextModifier and TypeMethodDescriptionstatic <S> ServiceFactory<?,S> ServiceFactories.sharedService(FunctionEx<? super ProcessorSupplier.Context, S> createServiceFn) A variant ofsharedService(createFn, destroyFn)with a no-opdestroyFn.static <S> ServiceFactory<?,S> ServiceFactories.sharedService(FunctionEx<? super ProcessorSupplier.Context, S> createServiceFn, ConsumerEx<S> destroyServiceFn) Returns aServiceFactorywhich will provide a single shared service object per cluster member.static <C> ServiceFactory<C,Void> ServiceFactory.withCreateContextFn(FunctionEx<? super ProcessorSupplier.Context, ? extends C> createContextFn) Creates a newServiceFactorywith the given function that creates the shared context object.