MemoryCache
public final class MemoryCache extends Object
Methods
getDeviceInfo
public DeviceInfo getDeviceInfo(String identifier)
Parameters
Name | Description |
---|---|
String identifier
|
ReturnValue
Name | Description |
---|---|
DeviceInfo
|
putDeviceInfo
public void putDeviceInfo(String identifier, DeviceInfo deviceInfo)
Save the DeviceInfo in the memory.
Parameters
Name | Description |
---|---|
String identifier
|
|
DeviceInfo deviceInfo
|
ReturnValue
Name | Description |
---|---|
void
|
Returns the device info if present in the memory.