public class UseTCPACKSCache
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
UseTCPACKSCache.DetectedValue
This class tracks if useTCPACKS have either been set or successfully detected.
|
| Constructor and Description |
|---|
UseTCPACKSCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
detect(FCClientEngine engine)
this will try to detect if we should use TCPACKS
we will no longer try to detect if we do so successfully.
|
void |
forceSet(FCClientEngine engine,
boolean useTCPACKS)
overrides all checks and forces the useage of TCPACKS
|
boolean |
isUseTCPACKS(FCClientEngine engine) |
void |
set(FCClientEngine engine,
boolean useTCPACKS)
Set the value if it has not already been set or detected
|
public boolean isUseTCPACKS(FCClientEngine engine)
engine - the FCClientEngine that is checking if we are using TCPACKSpublic void set(FCClientEngine engine, boolean useTCPACKS)
engine - the engine requesting a setisUseTCPACKS - public void forceSet(FCClientEngine engine, boolean useTCPACKS)
isUseTCPACKS - public void detect(FCClientEngine engine)
engine - the engine doing the test