A C D E F G H I K M N P R S T 
All Classes All Packages

A

abort() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Editor
Aborts this edit.
abortUnlessCommitted() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Editor
 
ApolloHttpCache - Class in com.apollographql.apollo.cache.http
 
ApolloHttpCache(HttpCacheStore) - Constructor for class com.apollographql.apollo.cache.http.ApolloHttpCache
 
ApolloHttpCache(HttpCacheStore, Logger) - Constructor for class com.apollographql.apollo.cache.http.ApolloHttpCache
 
appendingSink(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Writes to file, appending if data is already present.

C

cacheRecord(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
cacheRecordEditor(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
clear() - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
close() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Closes this cache.
close() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Snapshot
 
code - Variable in class com.apollographql.apollo.cache.http.internal.StatusLine
 
com.apollographql.apollo.cache.http - package com.apollographql.apollo.cache.http
 
com.apollographql.apollo.cache.http.internal - package com.apollographql.apollo.cache.http.internal
 
commit() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Editor
Commits this edit so it is visible to readers.
create(FileSystem, File, int, int, long) - Static method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Create a cache which will reside in directory.

D

delete() - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
delete() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Closes the cache and deletes all of its stored values.
delete(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Deletes file if it exists.
deleteContents(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Recursively delete the contents of directory.
DiskLruCache - Class in com.apollographql.apollo.cache.http.internal
A cache that uses a bounded amount of space on a filesystem.
DiskLruCache.Editor - Class in com.apollographql.apollo.cache.http.internal
Edits the values for an entry.
DiskLruCache.Snapshot - Class in com.apollographql.apollo.cache.http.internal
A snapshot of the values for an entry.
DiskLruHttpCacheStore - Class in com.apollographql.apollo.cache.http
 
DiskLruHttpCacheStore(FileSystem, File, long) - Constructor for class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
DiskLruHttpCacheStore(File, long) - Constructor for class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 

E

edit() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Snapshot
Returns an editor for this snapshot's entry, or null if either the entry has changed since this snapshot was created or if another edit is in progress.
edit(String) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns an editor for the entry named key, or null if another edit is in progress.
evictAll() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Deletes all stored values from the cache.
exists(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Returns true if file exists on the file system.

F

FileSystem - Interface in com.apollographql.apollo.cache.http.internal
Access to read and write files on a hierarchical data store.
flush() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Force buffered operations to the filesystem.
format(Date) - Static method in class com.apollographql.apollo.cache.http.internal.HttpDate
Returns the string for value.

G

get(String) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns a snapshot of the entry named key, or null if it doesn't exist is not currently readable.
get(Response) - Static method in class com.apollographql.apollo.cache.http.internal.StatusLine
 
getDirectory() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns the directory where this cache stores its data.
getLength(int) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Snapshot
Returns the byte length of the value for index.
getMaxSize() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns the maximum number of bytes that this cache should use to store its data.
getSource(int) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Snapshot
Returns the unbuffered stream with the value for index.

H

HTTP_CONTINUE - Static variable in class com.apollographql.apollo.cache.http.internal.StatusLine
 
HTTP_PERM_REDIRECT - Static variable in class com.apollographql.apollo.cache.http.internal.StatusLine
 
HTTP_TEMP_REDIRECT - Static variable in class com.apollographql.apollo.cache.http.internal.StatusLine
Numeric status code, 307: Temporary Redirect.
HttpDate - Class in com.apollographql.apollo.cache.http.internal
Best-effort parser for HTTP dates.

I

initialize() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
 
interceptor() - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
isClosed() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns true if this cache has been closed.

K

key() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Snapshot
 

M

MAX_DATE - Static variable in class com.apollographql.apollo.cache.http.internal.HttpDate
The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT".
message - Variable in class com.apollographql.apollo.cache.http.internal.StatusLine
 

N

newSink(int) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Editor
Returns a new unbuffered output stream to write the value at index.
newSource(int) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache.Editor
Returns an unbuffered input stream to read the last committed value, or null if no value has been committed.

P

parse(String) - Static method in class com.apollographql.apollo.cache.http.internal.HttpDate
Returns the date for value.
parse(String) - Static method in class com.apollographql.apollo.cache.http.internal.StatusLine
 
protocol - Variable in class com.apollographql.apollo.cache.http.internal.StatusLine
 

R

read(String) - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
read(String, boolean) - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
remove(String) - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
remove(String) - Method in class com.apollographql.apollo.cache.http.DiskLruHttpCacheStore
 
remove(String) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Drops the entry for key if it exists and can be removed.
removeQuietly(String) - Method in class com.apollographql.apollo.cache.http.ApolloHttpCache
 
rename(File, File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Renames from to to.

S

setMaxSize(long) - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Changes the maximum number of bytes the cache can store and queues a job to trim the existing store, if necessary.
sink(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Writes to file, discarding any data already present.
size() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns the number of bytes currently being used to store the values in this cache.
size(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Returns the number of bytes stored in file, or 0 if it does not exist.
snapshots() - Method in class com.apollographql.apollo.cache.http.internal.DiskLruCache
Returns an iterator over the cache's current entries.
source(File) - Method in interface com.apollographql.apollo.cache.http.internal.FileSystem
Reads from file.
StatusLine - Class in com.apollographql.apollo.cache.http.internal
An HTTP response status line like "HTTP/1.1 200 OK".
StatusLine(Protocol, int, String) - Constructor for class com.apollographql.apollo.cache.http.internal.StatusLine
 
SYSTEM - Static variable in interface com.apollographql.apollo.cache.http.internal.FileSystem
The host machine's local file system.

T

toString() - Method in class com.apollographql.apollo.cache.http.internal.StatusLine
 
A C D E F G H I K M N P R S T 
All Classes All Packages