public final class Atlantic extends Object
forInstance(Object) method and
both static method calls and constructor calls will use the statically() one.
It is possible to use instance methods on using the static executor by setting the instance to be executed as the
first parameter but it's not recommended.
This class cannot and should not be extended and only provides the 2 static methods for building executions.| Modifier and Type | Method and Description |
|---|---|
static ChainedExecutionFactoryBuilder |
forChain() |
static <INSTANCE> InstanceExecutionFactoryBuilder<INSTANCE> |
forInstance(INSTANCE instance) |
static <INSTANCE> InstanceExecutionFactoryBuilder<INSTANCE> |
forSuppliedInstance(Supplier<INSTANCE> instance) |
static StaticExecutionFactoryBuilder |
statically() |
public static ChainedExecutionFactoryBuilder forChain()
public static <INSTANCE> InstanceExecutionFactoryBuilder<INSTANCE> forInstance(INSTANCE instance)
public static <INSTANCE> InstanceExecutionFactoryBuilder<INSTANCE> forSuppliedInstance(Supplier<INSTANCE> instance)
public static StaticExecutionFactoryBuilder statically()
Copyright © 2019. All rights reserved.