Class AccessLogComponent
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
-
- com.yahoo.vespa.model.container.component.Component<AbstractConfigProducer<?>,com.yahoo.osgi.provider.model.ComponentModel>
-
- com.yahoo.vespa.model.container.component.SimpleComponent
-
- com.yahoo.vespa.model.container.component.AccessLogComponent
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.container.core.AccessLogConfig.Producer
,ConfigProducer
,Serializable
,Comparable<Component<?,?>>
public final class AccessLogComponent extends SimpleComponent implements com.yahoo.container.core.AccessLogConfig.Producer
- Author:
- Tony Vaagenes, gjoranv
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AccessLogComponent.AccessLogType
static class
AccessLogComponent.CompressionType
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description AccessLogComponent(AccessLogComponent.AccessLogType logType, AccessLogComponent.CompressionType compressionType, String fileNamePattern, String rotationInterval, Boolean compressOnRotation, boolean isHostedVespa, String symlinkName, Integer queueSize, Integer bufferSize)
AccessLogComponent(ContainerCluster<?> cluster, AccessLogComponent.AccessLogType logType, AccessLogComponent.CompressionType compressionType, String clusterName, boolean isHostedVespa)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.container.core.AccessLogConfig.Builder builder)
String
getFileNamePattern()
-
Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toString
-
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Constructor Detail
-
AccessLogComponent
public AccessLogComponent(ContainerCluster<?> cluster, AccessLogComponent.AccessLogType logType, AccessLogComponent.CompressionType compressionType, String clusterName, boolean isHostedVespa)
-
AccessLogComponent
public AccessLogComponent(AccessLogComponent.AccessLogType logType, AccessLogComponent.CompressionType compressionType, String fileNamePattern, String rotationInterval, Boolean compressOnRotation, boolean isHostedVespa, String symlinkName, Integer queueSize, Integer bufferSize)
-
-
Method Detail
-
getConfig
public void getConfig(com.yahoo.container.core.AccessLogConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.container.core.AccessLogConfig.Producer
-
getFileNamePattern
public String getFileNamePattern()
-
-