Added @ThreadSafe to a bunch of stuff.

This commit is contained in:
Adam Murdoch
2012-09-08 10:11:39 +10:00
parent f6ea1d8e33
commit 3f478d1665
4 changed files with 27 additions and 3 deletions

View File

@@ -3,19 +3,23 @@ package net.rubygrapefruit.platform;
/**
* Provides access to some system information. This is a snapshot view and does not change.
*/
@ThreadSafe
public interface SystemInfo extends NativeIntegration {
/**
* Returns the name of the kernel for the current operating system.
*/
@ThreadSafe
String getKernelName();
/**
* Returns the version of the kernel for the current operating system.
*/
@ThreadSafe
String getKernelVersion();
/**
* Returns the machine architecture, as reported by the operating system.
*/
@ThreadSafe
String getMachineArchitecture();
}