API Documentation | All Packages | All Classes | Index | Frames | ![]() |
Interface ICache | Properties | Methods | |
Package | org.openzoom.flash.utils |
Interface | public interface ICache extends IDisposable |
Implementors | Cache |
Property | Defined by | ||
---|---|---|---|
size : int [read-only]
Returns the size of the cache.
| ICache |
Method | Defined by | ||
---|---|---|---|
contains(key:*):Boolean
Returns
true if cache has item at key
and otherwise false
| ICache | ||
![]() |
dispose():void
Releases all resources this object holds on to.
| IDisposable | |
get(key:*):ICacheItem
Returns cache item at key.
| ICache | ||
put(key:*, item:ICacheItem):void
Put item into cache at key.
| ICache | ||
remove(key:*):ICacheItem
Remove item from cache at key.
| ICache |
size | property |
size:int
[read-only]Returns the size of the cache.
Implementation public function get size():int
contains | () | method |
public function contains(key:*):Boolean
Returns true
if cache has item at key
and otherwise false
key:* |
Boolean |
get | () | method |
public function get(key:*):ICacheItem
Returns cache item at key.
Parameterskey:* |
ICacheItem |
put | () | method |
public function put(key:*, item:ICacheItem):void
Put item into cache at key.
Parameterskey:* |
|
item:ICacheItem |
remove | () | method |
public function remove(key:*):ICacheItem
Remove item from cache at key.
Parameterskey:* |
ICacheItem |