| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| public static enum | |
| pack-priv static interface |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| private static final Logger | |
| private final String | |
| private final String | |
| public static final String | OCI_JAVASDK_CLIENT_VERSION_COMPATIBILITY_CHECK_SYSTEM_PROPERTY_NAME
This Java VM system property (which can be set using -Doci.javasdk.disable.version.compatibility.check=NEVER, for example) controls how frequently client compatibility should be checked. |
| private final String | |
| private final ClientCompatibilityChecker. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | ClientCompatibilityChecker(Properties sdkProperties, ClientCompatibilityChecker.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| public String | |
| public String | |
| private static ClientCompatibilityChecker. | |
| public boolean | |
| pack-priv static String | |
| pack-priv static String |
| JAVA_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | back to summary |
|---|---|
| public static final String JAVA_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | |
| JAVA_MAXIMUM_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | back to summary |
|---|---|
| public static final String JAVA_MAXIMUM_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | |
| JAVA_MINIMUM_CLIENT_CODEGEN_VERSION_FROM_CLIENT_PROPERTY_NAME | back to summary |
|---|---|
| public static final String JAVA_MINIMUM_CLIENT_CODEGEN_VERSION_FROM_CLIENT_PROPERTY_NAME | |
| JAVA_MINIMUM_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | back to summary |
|---|---|
| public static final String JAVA_MINIMUM_CLIENT_CODEGEN_VERSION_PROPERTY_NAME | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| maximumClientCodegenVersion | back to summary |
|---|---|
| private final String maximumClientCodegenVersion | |
| minimumClientCodegenVersion | back to summary |
|---|---|
| private final String minimumClientCodegenVersion | |
| OCI_JAVASDK_CLIENT_VERSION_COMPATIBILITY_CHECK_SYSTEM_PROPERTY_NAME | back to summary |
|---|---|
| public static final String OCI_JAVASDK_CLIENT_VERSION_COMPATIBILITY_CHECK_SYSTEM_PROPERTY_NAME This Java VM system property (which can be set using -Doci.javasdk.disable.version.compatibility.check=NEVER, for example) controls how frequently client compatibility should be checked. Valid choices for this system property are "NEVER", "ONCE", and "ALWAYS". The default is "ONCE". "NEVER" does not perform any compatibility checks at all. "ONCE", which is the default, performs the check once per client class. "ALWAYS" performs the check every time a new client is instantiated. | |
| sdkVersion | back to summary |
|---|---|
| private final String sdkVersion | |
| versionCompatibilityCheckMode | back to summary |
|---|---|
| private final ClientCompatibilityChecker. | |
| ClientCompatibilityChecker | back to summary |
|---|---|
| public ClientCompatibilityChecker(Properties sdkProperties) | |
| ClientCompatibilityChecker | back to summary |
|---|---|
| public ClientCompatibilityChecker(Properties sdkProperties, ClientCompatibilityChecker. | |
| getCodegenVersionWithoutSdkVersion | back to summary |
|---|---|
| pack-priv static String getCodegenVersionWithoutSdkVersion(String clientCodegenVersion) | |
| getMaximumClientCodegenVersion | back to summary |
|---|---|
| public String getMaximumClientCodegenVersion() | |
| getMinimumClientCodegenVersion | back to summary |
|---|---|
| public String getMinimumClientCodegenVersion() | |
| getVersionCompatibilityCheckModeFromSystemProperty | back to summary |
|---|---|
| private static ClientCompatibilityChecker. | |
| isClientCodegenVersionCompatible | back to summary |
|---|---|
| public boolean isClientCodegenVersionCompatible(String clientClassName, String clientCodegenVersion, Optional<String> javaMinimumClientCodegenVersionFromClient, Logger logger) | |
| maxClientCodegenVersion | back to summary |
|---|---|
| pack-priv static String maxClientCodegenVersion(Properties sdkProperties) | |
| minClientCodegenVersion | back to summary |
|---|---|
| pack-priv static String minClientCodegenVersion(Properties sdkProperties) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public void | |
| public boolean | setPreviousResult(String clientClassName, boolean previousResult)
Implements com.
|
| AlwaysVersionCompatibilityCheckModeImpl | back to summary |
|---|---|
| pack-priv AlwaysVersionCompatibilityCheckModeImpl() | |
| getPreviousResult | back to summary |
|---|---|
| public Optional Implements com.
| |
| logInitialMessage | back to summary |
|---|---|
| public void logInitialMessage() Implements com.
| |
| setPreviousResult | back to summary |
|---|---|
| public boolean setPreviousResult(String clientClassName, boolean previousResult) Implements com.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public void | |
| public boolean | setPreviousResult(String clientClassName, boolean previousResult)
Implements com.
|
| NeverVersionCompatibilityCheckModeImpl | back to summary |
|---|---|
| pack-priv NeverVersionCompatibilityCheckModeImpl() | |
| getPreviousResult | back to summary |
|---|---|
| public Optional Implements com.
| |
| logInitialMessage | back to summary |
|---|---|
| public void logInitialMessage() Implements com.
| |
| setPreviousResult | back to summary |
|---|---|
| public boolean setPreviousResult(String clientClassName, boolean previousResult) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ReadWriteLock | |
| private final Map | previousResults
Stores previous client/common library codegen version compatibility checks, but only if VERSION_COMPATIBILITY_CHECK_MODE is VersionCompatibilityCheckMode.ONCE. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public void | |
| public boolean | setPreviousResult(String clientClassName, boolean previousResult)
Implements com.
|
| lock | back to summary |
|---|---|
| private final ReadWriteLock lock | |
| previousResults | back to summary |
|---|---|
| private final Map<String, Boolean> previousResults Stores previous client/common library codegen version compatibility checks, but only if VERSION_COMPATIBILITY_CHECK_MODE is VersionCompatibilityCheckMode.ONCE. | |
| OnceVersionCompatibilityCheckModeImpl | back to summary |
|---|---|
| pack-priv OnceVersionCompatibilityCheckModeImpl() | |
| getPreviousResult | back to summary |
|---|---|
| public Optional Implements com.
| |
| logInitialMessage | back to summary |
|---|---|
| public void logInitialMessage() Implements com.
| |
| setPreviousResult | back to summary |
|---|---|
| public boolean setPreviousResult(String clientClassName, boolean previousResult) Implements com.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final ClientCompatibilityChecker. | |
| private final ClientCompatibilityChecker. | |
| public static final ClientCompatibilityChecker. | |
| public static final ClientCompatibilityChecker. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ClientCompatibilityChecker. | |
| public Optional | |
| public void | |
| public boolean | |
| public static ClientCompatibilityChecker. | |
| public static ClientCompatibilityChecker. |
| ALWAYS | back to summary |
|---|---|
| public static final ClientCompatibilityChecker. | |
| impl | back to summary |
|---|---|
| private final ClientCompatibilityChecker. | |
| NEVER | back to summary |
|---|---|
| public static final ClientCompatibilityChecker. | |
| ONCE | back to summary |
|---|---|
| public static final ClientCompatibilityChecker. | |
| VersionCompatibilityCheckMode | back to summary |
|---|---|
| private VersionCompatibilityCheckMode(ClientCompatibilityChecker. | |
| fromString | back to summary |
|---|---|
| public static ClientCompatibilityChecker. | |
| getPreviousResult | back to summary |
|---|---|
| public Optional | |
| logInitialMessage | back to summary |
|---|---|
| public void logInitialMessage() | |
| setPreviousResult | back to summary |
|---|---|
| public boolean setPreviousResult(String clientClassName, boolean previousResult) | |
| valueOf | back to summary |
|---|---|
| public static ClientCompatibilityChecker. | |
| values | back to summary |
|---|---|
| public static ClientCompatibilityChecker. | |
| Modifier and Type | Method and Description |
|---|---|
| public Optional | |
| public void | |
| public boolean |
| getPreviousResult | back to summary |
|---|---|
| public Optional | |
| logInitialMessage | back to summary |
|---|---|
| public void logInitialMessage() | |
| setPreviousResult | back to summary |
|---|---|
| public boolean setPreviousResult(String clientClassName, boolean previousResult) | |