Index

A B C E G H I M N O P R S V 
All Classes and Interfaces|All Packages

A

A_SIDE - Enum constant in enum class net.reevik.darkest.RoutingMode
A side only.

B

B_SIDE - Enum constant in enum class net.reevik.darkest.RoutingMode
B side only.

C

canRoute() - Method in class net.reevik.darkest.criteria.CountingCondition
 
canRoute() - Method in interface net.reevik.darkest.criteria.RoutingCondition
Returns @code true} if the request should be routed.
CountingCondition - Class in net.reevik.darkest.criteria
Criterion which enables routing in case the number of requests reach a pre-configured threshold.
CountingCondition(int) - Constructor for class net.reevik.darkest.criteria.CountingCondition
 
CustomEqualsAcceptanceImpl<T> - Class in net.reevik.darkest.validators
 
CustomEqualsAcceptanceImpl(BiPredicate<Result<T>, Result<T>>) - Constructor for class net.reevik.darkest.validators.CustomEqualsAcceptanceImpl
 

E

EndpointRouter<T> - Class in net.reevik.darkest
 
EndpointRouter(RoutingConfiguration<T>) - Constructor for class net.reevik.darkest.EndpointRouter
 
equals(Object) - Method in class net.reevik.darkest.ErrorResult
 
equals(Object) - Method in class net.reevik.darkest.SuccessResult
 
equals(Object) - Method in class net.reevik.darkest.validators.ValidationResult
 
EqualsValidatorImpl<T> - Class in net.reevik.darkest.validators
 
EqualsValidatorImpl() - Constructor for class net.reevik.darkest.validators.EqualsValidatorImpl
 
ErrorResult<T> - Class in net.reevik.darkest
 
ErrorResult(Exception, Duration) - Constructor for class net.reevik.darkest.ErrorResult
 

G

getDescription() - Method in class net.reevik.darkest.validators.ValidationResult
 
getDuration() - Method in class net.reevik.darkest.ErrorResult
 
getDuration() - Method in interface net.reevik.darkest.Result
 
getDuration() - Method in class net.reevik.darkest.SuccessResult
 
getError() - Method in class net.reevik.darkest.ErrorResult
 
getExecutorService() - Method in class net.reevik.darkest.RoutingConfiguration
 
getMonitorable() - Method in class net.reevik.darkest.RoutingConfiguration
 
getOrThrow() - Method in class net.reevik.darkest.ErrorResult
 
getOrThrow() - Method in interface net.reevik.darkest.Result
 
getOrThrow() - Method in class net.reevik.darkest.SuccessResult
 
getResult() - Method in class net.reevik.darkest.SuccessResult
 
getRoutingCriterion() - Method in class net.reevik.darkest.RoutingConfiguration
 
getRoutingMode() - Method in class net.reevik.darkest.RoutingConfiguration
 
getSideACommand() - Method in class net.reevik.darkest.RoutingConfiguration
 
getSideBCommand() - Method in class net.reevik.darkest.RoutingConfiguration
 
getValidator() - Method in class net.reevik.darkest.RoutingConfiguration
 

H

hashCode() - Method in class net.reevik.darkest.ErrorResult
 
hashCode() - Method in class net.reevik.darkest.SuccessResult
 
hashCode() - Method in class net.reevik.darkest.validators.ValidationResult
 

I

isPassed() - Method in class net.reevik.darkest.validators.ValidationResult
 
isSucceeded() - Method in class net.reevik.darkest.ErrorResult
 
isSucceeded() - Method in interface net.reevik.darkest.Result
 
isSucceeded() - Method in class net.reevik.darkest.SuccessResult
 

M

Monitorable - Interface in net.reevik.darkest
 
mustEqual() - Static method in class net.reevik.darkest.validators.ValidatorFactory
 

N

net.reevik.darkest - package net.reevik.darkest
 
net.reevik.darkest.criteria - package net.reevik.darkest.criteria
 
net.reevik.darkest.validators - package net.reevik.darkest.validators
 
newResult(boolean, String) - Static method in class net.reevik.darkest.validators.ValidatorFactory
 
NoopMonitoringImpl - Class in net.reevik.darkest
 
NoopMonitoringImpl() - Constructor for class net.reevik.darkest.NoopMonitoringImpl
 

O

onRoute() - Method in interface net.reevik.darkest.Monitorable
 
onRoute() - Method in class net.reevik.darkest.NoopMonitoringImpl
 
onSpill() - Method in interface net.reevik.darkest.Monitorable
 
onSpill() - Method in class net.reevik.darkest.NoopMonitoringImpl
 
onValidationError(ValidationResult) - Method in interface net.reevik.darkest.Monitorable
 
onValidationError(ValidationResult) - Method in class net.reevik.darkest.NoopMonitoringImpl
 

P

PerformanceAcceptanceImpl<T> - Class in net.reevik.darkest.validators
 
PerformanceAcceptanceImpl(Duration) - Constructor for class net.reevik.darkest.validators.PerformanceAcceptanceImpl
 

R

Result<T> - Interface in net.reevik.darkest
 
ResultValidator<T> - Interface in net.reevik.darkest.validators
The response objects from both endpoints need to be compared to evaluate if they are compatible so that the endpoint switch can be performed.
ResultValidatorImpl<T> - Class in net.reevik.darkest.validators
 
ResultValidatorImpl(List<ResultValidator<T>>) - Constructor for class net.reevik.darkest.validators.ResultValidatorImpl
 
ROLL_OUT - Enum constant in enum class net.reevik.darkest.RoutingMode
Enables the roll-out mode.
route() - Method in class net.reevik.darkest.EndpointRouter
 
RoutingCondition - Interface in net.reevik.darkest.criteria
Routing condition determines when an incoming request needs to be routed to the new endpoint.
RoutingConfiguration<T> - Class in net.reevik.darkest
 
RoutingConfiguration(SideCommand<T>, SideCommand<T>, ResultValidator<T>, RoutingMode, RoutingCondition, Monitorable) - Constructor for class net.reevik.darkest.RoutingConfiguration
 
RoutingMode - Enum Class in net.reevik.darkest
Routing mode dictates the current behaviour of the request routing.
run() - Method in class net.reevik.darkest.SideCommand
 

S

SHADOW_MODE_ACTIVE - Enum constant in enum class net.reevik.darkest.RoutingMode
Shadow mode is active in active mode.
SHADOW_MODE_PASSIVE - Enum constant in enum class net.reevik.darkest.RoutingMode
Shadow mode is active in passive mode.
SideCommand<T> - Class in net.reevik.darkest
 
SideCommand(Callable<T>) - Constructor for class net.reevik.darkest.SideCommand
 
SuccessResult<T> - Class in net.reevik.darkest
 
SuccessResult(T, Duration) - Constructor for class net.reevik.darkest.SuccessResult
 

V

validate(Result<T>, Result<T>) - Method in class net.reevik.darkest.validators.CustomEqualsAcceptanceImpl
 
validate(Result<T>, Result<T>) - Method in class net.reevik.darkest.validators.EqualsValidatorImpl
 
validate(Result<T>, Result<T>) - Method in class net.reevik.darkest.validators.PerformanceAcceptanceImpl
 
validate(Result<T>, Result<T>) - Method in interface net.reevik.darkest.validators.ResultValidator
 
validate(Result<T>, Result<T>) - Method in class net.reevik.darkest.validators.ResultValidatorImpl
 
ValidationResult - Class in net.reevik.darkest.validators
 
ValidationResult(boolean, String) - Constructor for class net.reevik.darkest.validators.ValidationResult
 
ValidatorFactory - Class in net.reevik.darkest.validators
 
ValidatorFactory() - Constructor for class net.reevik.darkest.validators.ValidatorFactory
 
valueOf(String) - Static method in enum class net.reevik.darkest.RoutingMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class net.reevik.darkest.RoutingMode
Returns an array containing the constants of this enum class, in the order they are declared.
A B C E G H I M N O P R S V 
All Classes and Interfaces|All Packages