public final class CRT extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CRT.UnknownPlatformException |
| Modifier and Type | Field and Description |
|---|---|
static int |
AWS_CRT_SUCCESS |
| Constructor and Description |
|---|
CRT() |
| Modifier and Type | Method and Description |
|---|---|
static String |
awsErrorName(int errorCode)
Given an integer error code from an internal operation
|
static String |
awsErrorString(int errorCode)
Given an integer error code from an internal operation
|
static int |
awsLastError()
Returns the last error on the current thread.
|
static void |
checkJniExceptionContract(boolean clearException) |
static void |
dumpNativeMemory()
Dump info to logs about all memory currently allocated by native resources.
|
static String |
getArchIdentifier() |
static String |
getOSIdentifier() |
static CrtPlatform |
getPlatformImpl() |
static long |
nativeMemory() |
public static final int AWS_CRT_SUCCESS
public static String getOSIdentifier() throws CRT.UnknownPlatformException
CRT.UnknownPlatformExceptionpublic static String getArchIdentifier() throws CRT.UnknownPlatformException
CRT.UnknownPlatformExceptionpublic static CrtPlatform getPlatformImpl()
public static int awsLastError()
public static String awsErrorString(int errorCode)
errorCode - An error code returned from an exception or other native
function callpublic static String awsErrorName(int errorCode)
errorCode - An error code returned from an exception or other native
function callpublic static long nativeMemory()
public static void dumpNativeMemory()
public static void checkJniExceptionContract(boolean clearException)
Copyright © 2021. All rights reserved.