Skip navigation links
A B C D E H I K N P R S T V 

A

accept(Context) - Method in interface net.infumia.frame.service.ConsumerService
 
accept(CompletableFuture<ConsumerService.State>, Context) - Method in interface net.infumia.frame.service.ConsumerService
 
apply(Implementation<Context, Result>) - Method in class net.infumia.frame.service.ServiceRepository
Applies an implementation operation to this repository.

B

build() - Method in class net.infumia.frame.service.ServicePipelineBuilder
Builds a new ServicePipeline instance with the configured parameters.

C

Cancellable - Interface in net.infumia.frame.service
An interface for cancellable operations.
cancelled() - Method in interface net.infumia.frame.service.Cancellable
Checks if the operation is cancelled.
cancelled(boolean) - Method in interface net.infumia.frame.service.Cancellable
Sets the cancelled state of the operation.
cloned() - Method in class net.infumia.frame.service.ServiceRepository
 
completeAsync(Context) - Method in class net.infumia.frame.service.ServiceRepository
Executes the services in this repository asynchronously with the given context.
completeDirect(Context) - Method in class net.infumia.frame.service.ServiceRepository
Executes the services in this repository directly (synchronously) with the given context.
ConsumerService<Context> - Interface in net.infumia.frame.service
A service that consumes a context.
ConsumerService.State - Enum in net.infumia.frame.service
Represents the state of a ConsumerService.
create(TypeToken<? extends Service<Context, Result>>, Service<Context, Result>) - Method in class net.infumia.frame.service.ServicePipeline
Creates a new ServiceRepository for the given service type and default implementation.

D

delayer(ScheduledExecutorService) - Method in class net.infumia.frame.service.ServicePipelineBuilder
Sets the scheduled executor service for the service pipeline.

E

executor(Executor) - Method in class net.infumia.frame.service.ServicePipelineBuilder
Sets the executor for the service pipeline.

H

handle(Context) - Method in interface net.infumia.frame.service.ConsumerService
 
handle(ServiceRepository<Context, Result>) - Method in interface net.infumia.frame.service.Implementation
Handles the operation by applying it to the given repository.
handle(Context) - Method in interface net.infumia.frame.service.Service
Handles the given context and returns a CompletableFuture that will be completed with the result.

I

Implementation<Context,Result> - Interface in net.infumia.frame.service
Represents an operation that can be applied to a ServiceRepository.

K

key() - Method in interface net.infumia.frame.service.Service
Gets the unique key identifying this service.

N

net.infumia.frame.service - package net.infumia.frame.service
 
net.infumia.frame.service.exception - package net.infumia.frame.service.exception
 
newBuilder() - Static method in class net.infumia.frame.service.ServicePipelineBuilder
Creates a new ServicePipelineBuilder instance.

P

PipelineException - Exception in net.infumia.frame.service.exception
An exception thrown when an error occurs within the service pipeline.
PipelineException(String, Throwable) - Constructor for exception net.infumia.frame.service.exception.PipelineException
Constructs a new PipelineException with the specified detail message and cause.

R

register(Service<Context, Result>, Collection<Predicate<Context>>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register operation.
register(Service<Context, Result>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register operation.
registerAfter(String, Service<Context, Result>, Collection<Predicate<Context>>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register after operation.
registerAfter(String, Service<Context, Result>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register after operation.
registerBefore(String, Service<Context, Result>, Collection<Predicate<Context>>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register before operation.
registerBefore(String, Service<Context, Result>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new register before operation.
remove(String) - Static method in interface net.infumia.frame.service.Implementation
Creates a new remove operation.
replace(String, UnaryOperator<Service<Context, Result>>, Collection<Predicate<Context>>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new replace operation.
replace(String, UnaryOperator<Service<Context, Result>>) - Static method in interface net.infumia.frame.service.Implementation
Creates a new replace operation.

S

Service<Context,Result> - Interface in net.infumia.frame.service
Represents a service that handles a context and produces a result asynchronously.
ServicePipeline - Class in net.infumia.frame.service
A pipeline for managing and executing services.
ServicePipelineBuilder - Class in net.infumia.frame.service
A builder for creating ServicePipeline instances.
ServiceRepository<Context,Result> - Class in net.infumia.frame.service
A repository for managing and executing services of a specific type.
ServiceRepository(ServicePipeline, TypeToken<? extends Service<Context, Result>>, Service<Context, Result>) - Constructor for class net.infumia.frame.service.ServiceRepository
Constructs a new ServiceRepository with a default implementation.

T

timeout(Duration) - Method in class net.infumia.frame.service.ServicePipelineBuilder
Sets the timeout duration for the service pipeline.

V

valueOf(String) - Static method in enum net.infumia.frame.service.ConsumerService.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.infumia.frame.service.ConsumerService.State
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E H I K N P R S T V 
Skip navigation links