com.android.volley.toolbox
クラス NoCache

java.lang.Object
  上位を拡張 com.android.volley.toolbox.NoCache
すべての実装されたインタフェース:
Cache

public class NoCache
extends java.lang.Object
implements Cache

A cache that doesn't.


入れ子のクラスの概要
 
インタフェース com.android.volley.Cache から継承された入れ子のクラス/インタフェース
Cache.Entry
 
コンストラクタの概要
NoCache()
           
 
メソッドの概要
 void clear()
          Empties the cache.
 Cache.Entry get(java.lang.String key)
          Retrieves an entry from the cache.
 void initialize()
          Performs any potentially long-running actions needed to initialize the cache; will be called from a worker thread.
 void invalidate(java.lang.String key, boolean fullExpire)
          Invalidates an entry in the cache.
 void put(java.lang.String key, Cache.Entry entry)
          Adds or replaces an entry to the cache.
 void remove(java.lang.String key)
          Removes an entry from the cache.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NoCache

public NoCache()
メソッドの詳細

clear

public void clear()
インタフェース Cache の記述:
Empties the cache.

定義:
インタフェース Cache 内の clear

get

public Cache.Entry get(java.lang.String key)
インタフェース Cache の記述:
Retrieves an entry from the cache.

定義:
インタフェース Cache 内の get
パラメータ:
key - Cache key
戻り値:
An Cache.Entry or null in the event of a cache miss

put

public void put(java.lang.String key,
                Cache.Entry entry)
インタフェース Cache の記述:
Adds or replaces an entry to the cache.

定義:
インタフェース Cache 内の put
パラメータ:
key - Cache key
entry - Data to store and metadata for cache coherency, TTL, etc.

invalidate

public void invalidate(java.lang.String key,
                       boolean fullExpire)
インタフェース Cache の記述:
Invalidates an entry in the cache.

定義:
インタフェース Cache 内の invalidate
パラメータ:
key - Cache key
fullExpire - True to fully expire the entry, false to soft expire

remove

public void remove(java.lang.String key)
インタフェース Cache の記述:
Removes an entry from the cache.

定義:
インタフェース Cache 内の remove
パラメータ:
key - Cache key

initialize

public void initialize()
インタフェース Cache の記述:
Performs any potentially long-running actions needed to initialize the cache; will be called from a worker thread.

定義:
インタフェース Cache 内の initialize