public class JLupinClientUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JLupinClientUtil.JLupinLoadBalancerAlgorithmType |
Modifier and Type | Method and Description |
---|---|
static void |
closeResources() |
static JLupinDelegator |
generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType) |
static JLupinDelegator |
generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds) |
static JLupinDelegator |
generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds,
boolean isKeepAlive,
boolean isOOBInline,
boolean isTcpNoDelay,
boolean isReuseAddress,
int sendBufferSize,
int receiveBufferSize,
int soLinger,
int trafficClass) |
static JLupinDelegator |
generateInnerMicroserviceLoadBalancerDelegator(JLupinLoadBalancer jLupinLoadBalancer,
PortType portType)
Deprecated.
|
static JLupinDelegator |
generateInnerMicroserviceLoadBalancerDelegator(PortType portType) |
static JLupinDelegator |
generateJLupinRMCLoadBalancerDelegatorImpl(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis)
Deprecated.
|
static JLupinLoadBalancer |
generateLoadBalancer(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
JLupinBalancerType jLupinBalancerType,
JLupinClientUtil.JLupinLoadBalancerAlgorithmType jLupinLoadBalancerAlgorithmType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
JLupinBalancerToServerConnectionDetail connectionDetailsToConnectMainServersInZone,
JLupinLogger jLupinLogger) |
static JLupinDelegator |
generateLoadBalancerDelegator(PortType portType,
JLupinLoadBalancer jLupinLoadBalancer,
JLupinSerializer jLupinSerializer) |
static JLupinDelegator |
generateMicroserviceLoadBalancerDelegator(JLupinLoadBalancer jLupinLoadBalancer,
PortType portType) |
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
Deprecated.
|
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds)
Deprecated.
|
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds,
long expectedCheckResponseTimeInMillis)
Deprecated.
|
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
JLupinLogger jLupinLogger,
JLupinSerializer jLupinSerializer)
Deprecated.
|
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
JLupinLogger jLupinLogger,
JLupinSerializer jLupinSerializer,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds)
Deprecated.
|
static JLupinDelegator |
generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations,
JLupinLogger jLupinLogger,
JLupinSerializer jLupinSerializer,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds,
long expectedCheckResponseTimeInMillis)
Deprecated.
|
static JLupinDelegator |
generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds,
boolean isKeepAlive,
boolean isOOBInline,
boolean isTcpNoDelay,
boolean isReuseAddress,
int sendBufferSize,
int receiveBufferSize,
int soLinger,
int trafficClass,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations) |
static JLupinDelegator |
generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
int connectionTimeoutInMilliseconds,
int readTimeoutInMilliseconds,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations) |
static JLupinDelegator |
generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis,
int repeatsAmount,
int changeServerIntervalInMillis,
PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations) |
static JLupinDelegator |
generateOuterMicroserviceLoadBalancerDelegator(PortType portType,
com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations) |
static JLupinProxyObjectProducer |
generateProxyObjectProducer(String microserviceName,
JLupinDelegator jLupinDelegator)
Deprecated.
|
static JLupinProxyObjectProducer |
generateProxyObjectProducer(String microserviceName,
JLupinDelegator jLupinDelegator,
JLupinInputParameterVariablesProducer jLupinInputParameterVariablesProducer)
Deprecated.
|
static JLupinProxyObjectProducer |
generateProxyObjectProducer(String microserviceName,
JLupinDelegator jLupinDelegator,
JLupinLogger jLupinLogger)
Deprecated.
|
static JLupinProxyObjectProducer |
generateProxyObjectProducer(String microserviceName,
JLupinDelegator jLupinDelegator,
JLupinLogger jLupinLogger,
JLupinInputParameterVariablesProducer jLupinInputParameterVariablesProducer)
Deprecated.
|
static <T> T |
generateRemote(JLupinDelegator jLupinDelegator,
String microserviceName,
Class serviceClass) |
static <T> T |
generateRemote(JLupinDelegator jLupinDelegator,
String microserviceName,
String serviceName,
Class serviceClass) |
static <T> T |
generateRemote(JLupinProxyObjectProducer jLupinProxyObjectProducer,
Class interfaceClassName)
Deprecated.
|
static <T> T |
generateRemote(JLupinProxyObjectProducer jLupinProxyObjectProducer,
Class interfaceClassName,
String remoteServiceName)
Deprecated.
|
static <T> T |
generateRemoteInterface(JLupinProxyObjectProducer jLupinProxyObjectProducer,
Class interfaceClassName)
Deprecated.
|
static <T> T |
generateRemoteInterface(JLupinProxyObjectProducer jLupinProxyObjectProducer,
Class interfaceClassName,
String remoteServiceName)
Deprecated.
|
static <T> T |
sendToQueue(JLupinDelegator jLupinDelegator,
String microserviceName,
String serviceName,
String methodName,
String busName,
Object[] methodParamArray) |
static void |
setLoadBalancerBaseVariables(int _howOftenCheckingServerInMillis,
int _repeatsAmount,
int _changeServerIntervalInMillis) |
public static void setLoadBalancerBaseVariables(int _howOftenCheckingServerInMillis, int _repeatsAmount, int _changeServerIntervalInMillis)
public static JLupinLoadBalancer generateLoadBalancer(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, JLupinBalancerType jLupinBalancerType, JLupinClientUtil.JLupinLoadBalancerAlgorithmType jLupinLoadBalancerAlgorithmType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, JLupinBalancerToServerConnectionDetail connectionDetailsToConnectMainServersInZone, JLupinLogger jLupinLogger)
public static JLupinDelegator generateLoadBalancerDelegator(PortType portType, JLupinLoadBalancer jLupinLoadBalancer, JLupinSerializer jLupinSerializer)
public static JLupinDelegator generateMicroserviceLoadBalancerDelegator(JLupinLoadBalancer jLupinLoadBalancer, PortType portType)
public static JLupinDelegator generateInnerMicroserviceLoadBalancerDelegator(PortType portType)
public static JLupinDelegator generateOuterMicroserviceLoadBalancerDelegator(PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
public static JLupinDelegator generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType)
public static JLupinDelegator generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
public static JLupinDelegator generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds)
public static JLupinDelegator generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
public static JLupinDelegator generateInnerMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds, boolean isKeepAlive, boolean isOOBInline, boolean isTcpNoDelay, boolean isReuseAddress, int sendBufferSize, int receiveBufferSize, int soLinger, int trafficClass)
public static JLupinDelegator generateOuterMicroserviceLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds, boolean isKeepAlive, boolean isOOBInline, boolean isTcpNoDelay, boolean isReuseAddress, int sendBufferSize, int receiveBufferSize, int soLinger, int trafficClass, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
public static <T> T generateRemote(JLupinDelegator jLupinDelegator, String microserviceName, String serviceName, Class serviceClass)
public static <T> T generateRemote(JLupinDelegator jLupinDelegator, String microserviceName, Class serviceClass)
public static <T> T sendToQueue(JLupinDelegator jLupinDelegator, String microserviceName, String serviceName, String methodName, String busName, Object[] methodParamArray) throws JLupinDelegatorException
JLupinDelegatorException
public static void closeResources()
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, JLupinLogger jLupinLogger, JLupinSerializer jLupinSerializer)
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations)
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, JLupinLogger jLupinLogger, JLupinSerializer jLupinSerializer, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds, long expectedCheckResponseTimeInMillis)
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, JLupinLogger jLupinLogger, JLupinSerializer jLupinSerializer, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds)
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds, long expectedCheckResponseTimeInMillis)
@Deprecated public static JLupinDelegator generateJLupinRMCLoadBalancerDelegatorImpl(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis)
@Deprecated public static JLupinDelegator generateOuterClientLoadBalancerDelegator(int howOftenCheckingServerInMillis, int repeatsAmount, int changeServerIntervalInMillis, PortType portType, com.jlupin.common.various.JLupinMainServerInZoneConfiguration[] jLupinMainServerInZoneConfigurations, int connectionTimeoutInMilliseconds, int readTimeoutInMilliseconds)
@Deprecated public static JLupinDelegator generateInnerMicroserviceLoadBalancerDelegator(JLupinLoadBalancer jLupinLoadBalancer, PortType portType)
@Deprecated public static JLupinProxyObjectProducer generateProxyObjectProducer(String microserviceName, JLupinDelegator jLupinDelegator, JLupinLogger jLupinLogger)
@Deprecated public static JLupinProxyObjectProducer generateProxyObjectProducer(String microserviceName, JLupinDelegator jLupinDelegator, JLupinLogger jLupinLogger, JLupinInputParameterVariablesProducer jLupinInputParameterVariablesProducer)
@Deprecated public static JLupinProxyObjectProducer generateProxyObjectProducer(String microserviceName, JLupinDelegator jLupinDelegator)
@Deprecated public static JLupinProxyObjectProducer generateProxyObjectProducer(String microserviceName, JLupinDelegator jLupinDelegator, JLupinInputParameterVariablesProducer jLupinInputParameterVariablesProducer)
@Deprecated public static <T> T generateRemoteInterface(JLupinProxyObjectProducer jLupinProxyObjectProducer, Class interfaceClassName, String remoteServiceName)
@Deprecated public static <T> T generateRemoteInterface(JLupinProxyObjectProducer jLupinProxyObjectProducer, Class interfaceClassName)
@Deprecated public static <T> T generateRemote(JLupinProxyObjectProducer jLupinProxyObjectProducer, Class interfaceClassName, String remoteServiceName)
@Deprecated public static <T> T generateRemote(JLupinProxyObjectProducer jLupinProxyObjectProducer, Class interfaceClassName)