Package com.iizix.gyro
Interface IRuntimeImageCache
- All Known Subinterfaces:
- IAppSessionGyro,- IClientSessionGyro,- IRuntimeImageCacheImpl
- All Known Implementing Classes:
- AppSessionGyro,- ClientSessionGyro
public interface IRuntimeImageCache
The runtime image cache interface.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- voidClears the entire cache or the- IRuntimeImageCachecache implementor, e.g.Gets an image definition from the image container of the- IRuntimeImageCachecache implementor, e.g.- boolean- removeImage- (String name) Removes an image with a name from the cache of the- IRuntimeImageCachecache implementor, e.g.- boolean- setImage- (RuntimeImageDefinition image) Adds the image definition to the image container for the- IRuntimeImageCachecache implementor, e.g.
- Method Details- getImageGets an image definition from the image container of the- IRuntimeImageCachecache implementor, e.g. Client session or Application Session.- Parameters:
- name- The image name.
- Returns:
- The predefined image definition, or null if not found.
 
- setImageAdds the image definition to the image container for the- IRuntimeImageCachecache implementor, e.g. Client session or Application Session. If the image already exists, it is replaced with the new definition.- Parameters:
- image- The image definition.
- Returns:
- true if the container was changed, i.e. image was added or replaced, false for no change.
 
- removeImageRemoves an image with a name from the cache of the- IRuntimeImageCachecache implementor, e.g. Client session or Application Session.- Parameters:
- name- The image to remove.
- Returns:
- true for removed, false if not found.
 
- clearImageCachevoid clearImageCache()Clears the entire cache or the- IRuntimeImageCachecache implementor, e.g. Client session or Application Session.