public class UserDeviceCacheImpl extends java.lang.Object implements MaximoCache
Constructor and Description |
---|
UserDeviceCacheImpl() |
Modifier and Type | Method and Description |
---|---|
DeviceInfo |
getActiveDeviceForUser(java.lang.String userName) |
java.util.Map<java.lang.String,DeviceInfo> |
getDevicesForUser(java.lang.String userName) |
java.lang.String |
getName()
Returns the name of the cache object.
|
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public void init() throws MXException
MaximoCache
init
in interface MaximoCache
MXException
public java.util.Map<java.lang.String,DeviceInfo> getDevicesForUser(java.lang.String userName)
public DeviceInfo getActiveDeviceForUser(java.lang.String userName)
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- MXException
public java.lang.String getName()
getName
in interface MaximoCache