Index

A C D E G H I K M O R S T V 
All Classes|All Packages

A

AbstractIdempotentRepository - Class in com.trendyol.jdempotent.core.datasource
Includes all the methods of IdempotentRequestStore
AbstractIdempotentRepository() - Constructor for class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
APP_NAME - Static variable in class com.trendyol.jdempotent.core.constant.EnvironmentVariableUtils
Application name environment variables value that uses to generate idempotency key

C

cachePrefix() - Method in annotation type com.trendyol.jdempotent.core.annotation.IdempotentResource
Prefix value to make hash value more collider
com.trendyol.jdempotent.core.annotation - package com.trendyol.jdempotent.core.annotation
 
com.trendyol.jdempotent.core.aspect - package com.trendyol.jdempotent.core.aspect
 
com.trendyol.jdempotent.core.callback - package com.trendyol.jdempotent.core.callback
 
com.trendyol.jdempotent.core.config - package com.trendyol.jdempotent.core.config
 
com.trendyol.jdempotent.core.constant - package com.trendyol.jdempotent.core.constant
 
com.trendyol.jdempotent.core.datasource - package com.trendyol.jdempotent.core.datasource
 
com.trendyol.jdempotent.core.generator - package com.trendyol.jdempotent.core.generator
 
com.trendyol.jdempotent.core.model - package com.trendyol.jdempotent.core.model
 
ConfigUtility - Class in com.trendyol.jdempotent.core.config
 
ConfigUtility() - Constructor for class com.trendyol.jdempotent.core.config.ConfigUtility
 
contains(IdempotencyKey) - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
contains(IdempotencyKey) - Method in interface com.trendyol.jdempotent.core.datasource.IdempotentRepository
 
CryptographyAlgorithm - Enum in com.trendyol.jdempotent.core.constant
Supported hash algorithms to generate idempotency key

D

DefaultKeyGenerator - Class in com.trendyol.jdempotent.core.generator
 
DefaultKeyGenerator() - Constructor for class com.trendyol.jdempotent.core.generator.DefaultKeyGenerator
 

E

EnvironmentVariableUtils - Class in com.trendyol.jdempotent.core.constant
Supported environment variables constants
EnvironmentVariableUtils() - Constructor for class com.trendyol.jdempotent.core.constant.EnvironmentVariableUtils
 
equals(Object) - Method in class com.trendyol.jdempotent.core.model.IdempotencyKey
 
equals(Object) - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestWrapper
 
equals(Object) - Method in class com.trendyol.jdempotent.core.model.IdempotentResponseWrapper
 
ErrorConditionalCallback - Interface in com.trendyol.jdempotent.core.callback
A callback interface that need to clear cache for custom error condition
execute(ProceedingJoinPoint) - Method in class com.trendyol.jdempotent.core.aspect.IdempotentAspect
An advice to make sure it returns at the same time for all subsequent calls

G

generateIdempotentKey(IdempotentRequestWrapper, String, StringBuilder, MessageDigest) - Method in class com.trendyol.jdempotent.core.generator.DefaultKeyGenerator
Generates a idempotent key for incoming event
generateIdempotentKey(IdempotentRequestWrapper, String, StringBuilder, MessageDigest) - Method in interface com.trendyol.jdempotent.core.generator.KeyGenerator
 
getIdempotentRepository() - Method in class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
getKeyValue() - Method in class com.trendyol.jdempotent.core.model.IdempotencyKey
 
getMap() - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
getMap() - Method in class com.trendyol.jdempotent.core.datasource.InMemoryIdempotentRepository
 
getRepositoryTypeByValue(String) - Static method in enum com.trendyol.jdempotent.core.constant.RepositoryType
return
getRequest() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestResponseWrapper
 
getRequest() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestWrapper
 
getResponse() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestResponseWrapper
 
getResponse() - Method in class com.trendyol.jdempotent.core.model.IdempotentResponseWrapper
 
getResponse(IdempotencyKey) - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
getResponse(IdempotencyKey) - Method in interface com.trendyol.jdempotent.core.datasource.IdempotentRepository
Checks the cache for an existing call for this request

H

hashCode() - Method in class com.trendyol.jdempotent.core.model.IdempotencyKey
 
hashCode() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestWrapper
 
hashCode() - Method in class com.trendyol.jdempotent.core.model.IdempotentResponseWrapper
 
HAZELCAST - com.trendyol.jdempotent.core.constant.RepositoryType
Hazelcast config value

I

IdempotencyKey - Class in com.trendyol.jdempotent.core.model
Wraps the combine of application name, listener name and incoming event value hash
IdempotencyKey() - Constructor for class com.trendyol.jdempotent.core.model.IdempotencyKey
 
IdempotencyKey(String) - Constructor for class com.trendyol.jdempotent.core.model.IdempotencyKey
 
IdempotentAspect - Class in com.trendyol.jdempotent.core.aspect
An aspect that used along with the @IdempotentResource annotation
IdempotentAspect() - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(ErrorConditionalCallback) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(ErrorConditionalCallback, DefaultKeyGenerator) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(IdempotentRepository) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(IdempotentRepository, ErrorConditionalCallback) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(IdempotentRepository, ErrorConditionalCallback, DefaultKeyGenerator) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentAspect(IdempotentRepository, DefaultKeyGenerator) - Constructor for class com.trendyol.jdempotent.core.aspect.IdempotentAspect
 
IdempotentRepository - Interface in com.trendyol.jdempotent.core.datasource
an interface that the functionality required of a request store for idempotent method invocations.
IdempotentRequestPayload - Annotation Type in com.trendyol.jdempotent.core.annotation
Add to the methods arguments that represents the idempotent request payload.
IdempotentRequestResponseWrapper - Class in com.trendyol.jdempotent.core.model
That is a container for idempotent requests and responses
IdempotentRequestResponseWrapper(IdempotentRequestWrapper) - Constructor for class com.trendyol.jdempotent.core.model.IdempotentRequestResponseWrapper
 
IdempotentRequestWrapper - Class in com.trendyol.jdempotent.core.model
Wraps the incoming event value
IdempotentRequestWrapper(Object) - Constructor for class com.trendyol.jdempotent.core.model.IdempotentRequestWrapper
 
IdempotentResource - Annotation Type in com.trendyol.jdempotent.core.annotation
Add to the methods that need to be idempotent.
IdempotentResponseWrapper - Class in com.trendyol.jdempotent.core.model
Wraps the incoming event response
IdempotentResponseWrapper(Object) - Constructor for class com.trendyol.jdempotent.core.model.IdempotentResponseWrapper
 
INMEMORY - com.trendyol.jdempotent.core.constant.RepositoryType
Default config
InMemoryIdempotentRepository - Class in com.trendyol.jdempotent.core.datasource
An implementation of the idempotent AbstractIdempotentRepository that uses as a default map
InMemoryIdempotentRepository() - Constructor for class com.trendyol.jdempotent.core.datasource.InMemoryIdempotentRepository
 

K

KeyGenerator - Interface in com.trendyol.jdempotent.core.generator
 

M

MD5 - com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
use md5 hash algorithm

O

onErrorCondition(Object) - Method in interface com.trendyol.jdempotent.core.callback.ErrorConditionalCallback
a error state flag
onErrorCustomException() - Method in interface com.trendyol.jdempotent.core.callback.ErrorConditionalCallback
exception to throw when custom error occurs

R

REDIS - com.trendyol.jdempotent.core.constant.RepositoryType
Redis config value
remove(IdempotencyKey) - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
remove(IdempotencyKey) - Method in interface com.trendyol.jdempotent.core.datasource.IdempotentRepository
 
RepositoryType - Enum in com.trendyol.jdempotent.core.constant
Supported datasource types

S

setIdempotentRepository(IdempotentRepository) - Method in class com.trendyol.jdempotent.core.aspect.IdempotentAspect
Sets the cache implementation
setKeyValue(String) - Method in class com.trendyol.jdempotent.core.model.IdempotencyKey
 
setResponse(IdempotencyKey, IdempotentRequestWrapper, IdempotentResponseWrapper) - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
setResponse(IdempotencyKey, IdempotentRequestWrapper, IdempotentResponseWrapper) - Method in interface com.trendyol.jdempotent.core.datasource.IdempotentRepository
 
setResponse(IdempotentResponseWrapper) - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestResponseWrapper
 
SHA1 - com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
use SHA-1 hash algorithm
SHA256 - com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
use SHA-256 hash algorithm
store(IdempotencyKey, IdempotentRequestWrapper) - Method in class com.trendyol.jdempotent.core.datasource.AbstractIdempotentRepository
 
store(IdempotencyKey, IdempotentRequestWrapper) - Method in interface com.trendyol.jdempotent.core.datasource.IdempotentRepository
 

T

toString() - Method in class com.trendyol.jdempotent.core.model.IdempotencyKey
 
toString() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestResponseWrapper
 
toString() - Method in class com.trendyol.jdempotent.core.model.IdempotentRequestWrapper
 
toString() - Method in class com.trendyol.jdempotent.core.model.IdempotentResponseWrapper
 

V

value() - Method in enum com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
 
value() - Method in enum com.trendyol.jdempotent.core.constant.RepositoryType
 
valueOf(String) - Static method in enum com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.trendyol.jdempotent.core.constant.RepositoryType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.trendyol.jdempotent.core.constant.CryptographyAlgorithm
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.trendyol.jdempotent.core.constant.RepositoryType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E G H I K M O R S T V 
All Classes|All Packages