Class FileStoreSystemHistorianConfig
- java.lang.Object
-
- com.elastisys.autoscaler.systemhistorians.file.FileStoreSystemHistorianConfig
-
public class FileStoreSystemHistorianConfig extends java.lang.ObjectRepresents a configuration for theFileStoreSystemHistorian.- See Also:
FileStoreSystemHistorian
-
-
Constructor Summary
Constructors Constructor Description FileStoreSystemHistorianConfig(java.lang.String log)Constructs a newFileStoreSystemHistorianConfig.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.FilegetLog()Returns theFilethatSystemMetricEvents will be written to.voidvalidate()Validates theFileStoreSystemHistorianConfigand throws aIllegalArgumentExceptionif any check fails.
-
-
-
Constructor Detail
-
FileStoreSystemHistorianConfig
public FileStoreSystemHistorianConfig(java.lang.String log)
Constructs a newFileStoreSystemHistorianConfig.- Parameters:
log- The file system path thatSystemMetricEvents will be written to.
-
-
Method Detail
-
validate
public void validate() throws java.lang.IllegalArgumentExceptionValidates theFileStoreSystemHistorianConfigand throws aIllegalArgumentExceptionif any check fails.- Throws:
java.lang.IllegalArgumentException
-
getLog
public java.io.File getLog()
Returns theFilethatSystemMetricEvents will be written to.- Returns:
-
-