com.android.volley
クラス Cache.Entry

java.lang.Object
  上位を拡張 com.android.volley.Cache.Entry
含まれているインタフェース:
Cache

public static class Cache.Entry
extends java.lang.Object

Data and metadata for an entry returned by the cache.


フィールドの概要
 byte[] data
          The data returned from cache.
 java.lang.String etag
          ETag for cache coherency.
 java.util.Map<java.lang.String,java.lang.String> responseHeaders
          Immutable response headers as received from server; must be non-null.
 long serverDate
          Date of this response as reported by the server.
 long softTtl
          Soft TTL for this record.
 long ttl
          TTL for this record.
 
コンストラクタの概要
Cache.Entry()
           
 
メソッドの概要
 boolean isExpired()
          True if the entry is expired.
 boolean refreshNeeded()
          True if a refresh is needed from the original data source.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

data

public byte[] data
The data returned from cache.


etag

public java.lang.String etag
ETag for cache coherency.


serverDate

public long serverDate
Date of this response as reported by the server.


ttl

public long ttl
TTL for this record.


softTtl

public long softTtl
Soft TTL for this record.


responseHeaders

public java.util.Map<java.lang.String,java.lang.String> responseHeaders
Immutable response headers as received from server; must be non-null.

コンストラクタの詳細

Cache.Entry

public Cache.Entry()
メソッドの詳細

isExpired

public boolean isExpired()
True if the entry is expired.


refreshNeeded

public boolean refreshNeeded()
True if a refresh is needed from the original data source.