|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Id | |
---|---|
com.croftsoft.core.animation.model | The base interface for the model of a game world entity. |
com.croftsoft.core.animation.model.seri | Serializable implementations of Model classes. |
com.croftsoft.core.util.cache | Cache implementations. |
com.croftsoft.core.util.cache.secure | Hash Cache: retrieves content using hash digests (tutorial). |
com.croftsoft.core.util.id | An Id is used for consistent cross-process identification. |
Uses of Id in com.croftsoft.core.animation.model |
---|
Subinterfaces of Id in com.croftsoft.core.animation.model | |
---|---|
interface |
ModelId
Identifier for a Model. |
Uses of Id in com.croftsoft.core.animation.model.seri |
---|
Classes in com.croftsoft.core.animation.model.seri that implement Id | |
---|---|
class |
SeriModelId
A Serializable ModelId. |
Uses of Id in com.croftsoft.core.util.cache |
---|
Methods in com.croftsoft.core.util.cache that return Id | |
---|---|
Id |
SoftCache.store(InputStream in)
|
Id |
MemoryMapCache.store(InputStream in)
|
Id |
Cache.store(InputStream in)
Stores the contents and returns an Id to be used for retrieval. |
static Id |
CacheLib.storeString(Cache cache,
String s)
Tests a Cache implementation. |
Id |
SoftCache.validate(Id id,
ContentAccessor contentAccessor)
|
Id |
MemoryMapCache.validate(Id id,
ContentAccessor contentAccessor)
|
Id |
Cache.validate(Id id,
ContentAccessor contentAccessor)
"Validates" the content by confirming that identical content already exists in the cache; or, if otherwise necessary, storing a new copy of the content in the cache. |
Methods in com.croftsoft.core.util.cache with parameters of type Id | |
---|---|
boolean |
SoftCache.isAvailable(Id id)
|
boolean |
MemoryMapCache.isAvailable(Id id)
|
boolean |
Cache.isAvailable(Id id)
Returns false if the content is no longer available. |
InputStream |
SoftCache.retrieve(Id id)
|
InputStream |
MemoryMapCache.retrieve(Id id)
|
InputStream |
Cache.retrieve(Id id)
Retrieves the content associated with this Id. |
static String |
CacheLib.retrieveString(Cache cache,
Id id)
|
Id |
SoftCache.validate(Id id,
ContentAccessor contentAccessor)
|
Id |
MemoryMapCache.validate(Id id,
ContentAccessor contentAccessor)
|
Id |
Cache.validate(Id id,
ContentAccessor contentAccessor)
"Validates" the content by confirming that identical content already exists in the cache; or, if otherwise necessary, storing a new copy of the content in the cache. |
Uses of Id in com.croftsoft.core.util.cache.secure |
---|
Classes in com.croftsoft.core.util.cache.secure that implement Id | |
---|---|
class |
SecureId
A concrete Id implementation that uses a secure digest to verify identity. |
Methods in com.croftsoft.core.util.cache.secure that return Id | |
---|---|
Id |
SecureCache.store(InputStream inputStream)
Stores the content to the delegateCache and returns a SecureId object which may be used to retrieve it. |
Id |
SecureCache.validate(Id secureId,
ContentAccessor contentAccessor)
"Validates" the content by confirming that identical content already exists in the cache; or, if otherwise necessary, storing a new copy of the content in the cache. |
Methods in com.croftsoft.core.util.cache.secure with parameters of type Id | |
---|---|
boolean |
SecureCache.isAvailable(Id secureId)
Determines if the content with a matching digest is available in the delegateCache. |
InputStream |
SecureCache.retrieve(Id secureId)
Retrieves content with a matching content digest from the delegateCache. |
Id |
SecureCache.validate(Id secureId,
ContentAccessor contentAccessor)
"Validates" the content by confirming that identical content already exists in the cache; or, if otherwise necessary, storing a new copy of the content in the cache. |
Uses of Id in com.croftsoft.core.util.id |
---|
Classes in com.croftsoft.core.util.id that implement Id | |
---|---|
class |
IntId
An Id implementation that uses an integer as its value. |
class |
LongId
An Id implementation that uses a Long object as its value. |
class |
StringId
An Id implementation backed by a String. |
|
CroftSoft Javadoc | |||||||||
PREV NEXT | FRAMES NO FRAMES |