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
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 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, 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:
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>
-