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 FileTypeCOMPRESSIONstatic java.lang.StringSEPFields inherited from class org.torproject.metrics.collector.persist.DescriptorPersistence
annotation, BRIDGEDBSTATS, BRIDGEDESCS, BRIDGEPOOLASSIGNMENTS, DASH, desc, DOT, 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
Modifier and Type Method Description booleanstoreAll(java.lang.String recentRoot, java.lang.String outRoot)Logs are not appended.booleanstoreRecent(java.lang.String recentRoot)Logs are not appended.Methods inherited from class org.torproject.metrics.collector.persist.DescriptorPersistence
getRecentPath, getStoragePath, storeAll, storeOut, storeOut, storeRecent
-
Field Details
-
SEP
public static final java.lang.String SEP- See Also:
- Constant Field Values
-
COMPRESSION
-
-
Constructor Details
-
WebServerAccessLogPersistence
public WebServerAccessLogPersistence(org.torproject.descriptor.WebServerAccessLog desc)Prepare storing the given descriptor.
-
-
Method Details
-
storeAll
public boolean storeAll(java.lang.String recentRoot, java.lang.String outRoot)Logs are not appended.- Overrides:
storeAllin classDescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-
storeRecent
public boolean storeRecent(java.lang.String recentRoot)Logs are not appended.- Overrides:
storeRecentin classDescriptorPersistence<org.torproject.descriptor.WebServerAccessLog>
-