|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjautil.avatar.AvatarsMemCache
public class AvatarsMemCache
In-memory cache of avatar data files.
Constructor Summary | |
---|---|
AvatarsMemCache(AvatarConfigDataset acdata)
Constructs a new in-memory avatar data cache, supported by the given avatar configuration dataset. |
Method Summary | |
---|---|
AvatarAccess |
getAccess(java.lang.String av)
Ensures that this cache has an entry for the given avatar, by loading the entry if necessary, and returns the entry. |
boolean |
isAvailable(java.lang.String av)
Tests whether this cache has an entry for the given avatar. |
boolean |
isLocallyAvailable(java.lang.String av)
Tests whether the access entry for the given entry is available on the local system, either in primary or in secondary memory. |
void |
terminateAccess(java.lang.String av)
If this cache has an entry for the given avatar then that access entry is terminated and removed from the cache. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AvatarsMemCache(AvatarConfigDataset acdata)
Method Detail |
---|
public boolean isAvailable(java.lang.String av)
public boolean isLocallyAvailable(java.lang.String av)
public AvatarAccess getAccess(java.lang.String av)
public void terminateAccess(java.lang.String av)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |