FileCache.smali
.class public interface abstract Lcom/facebook/cache/disk/FileCache;
.super Ljava/lang/Object;
.source "FileCache.java"
# interfaces
.implements Lcom/facebook/common/disk/DiskTrimmable;
# virtual methods
.method public abstract clearAll()V
.end method
.method public abstract clearOldEntries(J)J
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"cacheExpirationMs"
}
.end annotation
.end method
.method public abstract getCount()J
.end method
.method public abstract getDumpInfo()Lcom/facebook/cache/disk/DiskStorage$DiskDumpInfo;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract getResource(Lcom/facebook/cache/common/CacheKey;)Lcom/facebook/binaryresource/BinaryResource;
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract getSize()J
.end method
.method public abstract hasKey(Lcom/facebook/cache/common/CacheKey;)Z
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.end method
.method public abstract hasKeySync(Lcom/facebook/cache/common/CacheKey;)Z
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.end method
.method public abstract insert(Lcom/facebook/cache/common/CacheKey;Lcom/facebook/cache/common/WriterCallback;)Lcom/facebook/binaryresource/BinaryResource;
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0,
0x0
}
names = {
"key",
"writer"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
.end method
.method public abstract isEnabled()Z
.end method
.method public abstract probe(Lcom/facebook/cache/common/CacheKey;)Z
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.end method
.method public abstract remove(Lcom/facebook/cache/common/CacheKey;)V
.annotation system Ldalvik/annotation/MethodParameters;
accessFlags = {
0x0
}
names = {
"key"
}
.end annotation
.end method