Package systems
SLCPUInfo #sleela 2.5 (lib/systems/SLCPUInfo.sleela)
SLCPUInfo class
CPU and memory metadata shape matching osls_cpu_info. >
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
vendor | String vendor = "" | No description in source. |
model | String model = "" | No description in source. |
logicalCores | int logicalCores = 0 | No description in source. |
physicalCores | int physicalCores = 0 | No description in source. |
cacheLineSize | int cacheLineSize = 0 | No description in source. |
totalMemoryBytes | int totalMemoryBytes = 0 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getVendor | String getVendor() | No description in source. |
getModel | String getModel() | No description in source. |
getLogicalCores | int getLogicalCores() | No description in source. |
getPhysicalCores | int getPhysicalCores() | No description in source. |
getCacheLineSize | int getCacheLineSize() | No description in source. |
getTotalMemoryBytes | int getTotalMemoryBytes() | No description in source. |
SLCronExpression #sleela 2.5 (lib/systems/SLCronExpression.sleela)
SLCronExpression class
Contract shape for the native five-field cron helpers.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
expression | String expression = "" | No description in source. |
timezone | String timezone = "process local timezone" | No description in source. |
searchHorizonYears | int searchHorizonYears = 5 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getExpression | String getExpression() | No description in source. |
getTimezone | String getTimezone() | No description in source. |
getSearchHorizonYears | int getSearchHorizonYears() | No description in source. |
SLFileInfo #sleela 2.5 (lib/systems/SLFileInfo.sleela)
SLFileInfo class
Read-only file metadata shape matching osls_file_info.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
path | String path = "" | No description in source. |
sizeBytes | int sizeBytes = 0 | No description in source. |
modifiedEpochSeconds | int modifiedEpochSeconds = 0 | No description in source. |
createdEpochSeconds | int createdEpochSeconds = 0 | No description in source. |
directory | boolean directory = false | No description in source. |
regularFile | boolean regularFile = false | No description in source. |
readable | boolean readable = false | No description in source. |
writable | boolean writable = false | No description in source. |
executable | boolean executable = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getPath | String getPath() | No description in source. |
getSizeBytes | int getSizeBytes() | No description in source. |
getModifiedEpochSeconds | int getModifiedEpochSeconds() | No description in source. |
getCreatedEpochSeconds | int getCreatedEpochSeconds() | No description in source. |
isDirectory | boolean isDirectory() | No description in source. |
isRegularFile | boolean isRegularFile() | No description in source. |
isReadable | boolean isReadable() | No description in source. |
isWritable | boolean isWritable() | No description in source. |
isExecutable | boolean isExecutable() | No description in source. |
SLNetworkInterface #sleela 2.5 (lib/systems/SLNetworkInterface.sleela)
SLNetworkInterface class
Network interface metadata shape matching osls_network_interface. >
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
name | String name = "" | No description in source. |
macAddress | String macAddress = "" | No description in source. |
ipv4 | String ipv4 = "" | No description in source. |
ipv6 | String ipv6 = "" | No description in source. |
up | boolean up = false | No description in source. |
loopback | boolean loopback = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getName | String getName() | No description in source. |
getMacAddress | String getMacAddress() | No description in source. |
getIPv4 | String getIPv4() | No description in source. |
getIPv6 | String getIPv6() | No description in source. |
isUp | boolean isUp() | No description in source. |
isLoopback | boolean isLoopback() | No description in source. |
SLPackage #sleela 2.5 (lib/systems/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for systems.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
available | boolean available() | No description in source. |
SLProcessInfo #sleela 2.5 (lib/systems/SLProcessInfo.sleela)
SLProcessInfo class
Read-only process metadata shape matching osls_process_info.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
processId | int processId = 0 | No description in source. |
parentProcessId | int parentProcessId = 0 | No description in source. |
threadCount | int threadCount = 0 | No description in source. |
startEpochSeconds | int startEpochSeconds = 0 | No description in source. |
executablePath | String executablePath = "" | No description in source. |
commandLine | String commandLine = "" | No description in source. |
currentDirectory | String currentDirectory = "" | No description in source. |
state | String state = "" | No description in source. |
userName | String userName = "" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getProcessId | int getProcessId() | No description in source. |
getParentProcessId | int getParentProcessId() | No description in source. |
getThreadCount | int getThreadCount() | No description in source. |
getStartEpochSeconds | int getStartEpochSeconds() | No description in source. |
getExecutablePath | String getExecutablePath() | No description in source. |
getCommandLine | String getCommandLine() | No description in source. |
getCurrentDirectory | String getCurrentDirectory() | No description in source. |
getState | String getState() | No description in source. |
getUserName | String getUserName() | No description in source. |
SLSystemInfo #sleela 2.5 (lib/systems/SLSystemInfo.sleela)
SLSystemInfo class
Read-only snapshot shape matching osls_system_info in osls.h.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
platform | int platform = 0 | No description in source. |
processId | int processId = 0 | No description in source. |
unixTimeSeconds | int unixTimeSeconds = 0 | No description in source. |
monotonicTimeNanoseconds | int monotonicTimeNanoseconds = 0 | No description in source. |
hostname | String hostname = "" | No description in source. |
userName | String userName = "" | No description in source. |
workingDirectory | String workingDirectory = "" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getPlatform | int getPlatform() | No description in source. |
getProcessId | int getProcessId() | No description in source. |
getUnixTimeSeconds | int getUnixTimeSeconds() | No description in source. |
getMonotonicTimeNanoseconds | int getMonotonicTimeNanoseconds() | No description in source. |
getHostname | String getHostname() | No description in source. |
getUserName | String getUserName() | No description in source. |
getWorkingDirectory | String getWorkingDirectory() | No description in source. |
SLSystemStatus #sleela 2.5 (lib/systems/SLSystemStatus.sleela)
SLSystemStatus class
Status and platform values for the native OS-level-support C ABI.
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
OK | int OK = 0 | No description in source. |
INVALID_ARGUMENT | int INVALID_ARGUMENT = 1 | No description in source. |
BUFFER_TOO_SMALL | int BUFFER_TOO_SMALL = 2 | No description in source. |
SYSTEM_ERROR | int SYSTEM_ERROR = 3 | No description in source. |
NOT_FOUND | int NOT_FOUND = 4 | No description in source. |
UNSUPPORTED | int UNSUPPORTED = 5 | No description in source. |
PLATFORM_UNKNOWN | int PLATFORM_UNKNOWN = 0 | No description in source. |
PLATFORM_LINUX | int PLATFORM_LINUX = 1 | No description in source. |
PLATFORM_MACOS | int PLATFORM_MACOS = 2 | No description in source. |
PLATFORM_WINDOWS | int PLATFORM_WINDOWS = 3 | No description in source. |
SLTimezoneInfo #sleela 2.5 (lib/systems/SLTimezoneInfo.sleela)
SLTimezoneInfo class
Timezone metadata shape matching osls_timezone_info. >
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
id | String id = "" | No description in source. |
abbreviation | String abbreviation = "" | No description in source. |
offsetMinutesFromUtc | int offsetMinutesFromUtc = 0 | No description in source. |
daylightSavingTime | boolean daylightSavingTime = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
getId | String getId() | No description in source. |
getAbbreviation | String getAbbreviation() | No description in source. |
getOffsetMinutesFromUtc | int getOffsetMinutesFromUtc() | No description in source. |
isDaylightSavingTime | boolean isDaylightSavingTime() | No description in source. |