Class WebServerAccessLogPersistence
- java.lang.Object
-
- org.torproject.metrics.collector.persist.DescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-
- org.torproject.metrics.collector.persist.WebServerAccessLogPersistence
-
public class WebServerAccessLogPersistence extends DescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-
-
Field Summary
Fields Modifier and Type Field Description static FileType
COMPRESSION
static java.lang.String
SEP
-
Fields inherited from class org.torproject.metrics.collector.persist.DescriptorPersistence
annotationBytes, BRIDGEDBSTATS, BRIDGEDESCS, BRIDGEPOOLASSIGNMENTS, DASH, desc, descriptorBytes, DOT, EMPTY_ANNOTATION, EXTRA_INFO, EXTRA_INFOS, MICRODESC, MICRODESCS, recentPath, RELAYDESCS, SERVERDESC, SERVERDESCS, storagePath, WEBSTATS
-
-
Constructor Summary
Constructors Constructor Description WebServerAccessLogPersistence(org.torproject.descriptor.WebServerAccessLog desc)
Prepare storing the given descriptor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
storeAll(java.lang.String recentRoot, java.lang.String outRoot)
Logs are not appended.boolean
storeRecent(java.lang.String recentRoot)
Logs are not appended.-
Methods inherited from class org.torproject.metrics.collector.persist.DescriptorPersistence
getRecentPath, getStoragePath, storeAll, storeAll, storeOut, storeOut, storeRecent
-
-
-
-
Field Detail
-
SEP
public static final java.lang.String SEP
- See Also:
- Constant Field Values
-
COMPRESSION
public static final FileType COMPRESSION
-
-
Method Detail
-
storeAll
public boolean storeAll(java.lang.String recentRoot, java.lang.String outRoot)
Logs are not appended.- Overrides:
storeAll
in classDescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-
storeRecent
public boolean storeRecent(java.lang.String recentRoot)
Logs are not appended.- Overrides:
storeRecent
in classDescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-
-