public static class NetworkStatsRecorder.RemoveUidRewriter extends Object implements FileRotator.Rewriter
NetworkStatsHistory
attributed to
the requested UID, only writing data back when modified.Constructor and Description |
---|
RemoveUidRewriter(long bucketDuration,
int[] uids) |
Modifier and Type | Method and Description |
---|---|
void |
read(InputStream in) |
void |
reset() |
boolean |
shouldWrite() |
void |
write(OutputStream out) |
public void reset()
reset
in interface FileRotator.Rewriter
public void read(InputStream in) throws IOException
read
in interface FileRotator.Reader
IOException
public boolean shouldWrite()
shouldWrite
in interface FileRotator.Rewriter
public void write(OutputStream out) throws IOException
write
in interface FileRotator.Writer
IOException