@InterfaceAudience.Private public static class AggregatedLogFormat.LogValue extends Object
| Constructor and Description |
|---|
LogValue(List<String> rootLogDirs,
ContainerId containerId,
String user) |
LogValue(List<String> rootLogDirs,
ContainerId containerId,
String user,
LogAggregationContext logAggregationContext,
Set<String> alreadyUploadedLogFiles,
boolean appFinished) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllExistingFilesMeta() |
Set<String> |
getCurrentUpLoadedFileMeta() |
Set<Path> |
getCurrentUpLoadedFilesPath() |
String |
getUser() |
FileInputStream |
secureOpenFile(File logFile) |
void |
write(DataOutputStream out,
Set<File> pendingUploadFiles) |
public LogValue(List<String> rootLogDirs, ContainerId containerId, String user)
public LogValue(List<String> rootLogDirs, ContainerId containerId, String user, LogAggregationContext logAggregationContext, Set<String> alreadyUploadedLogFiles, boolean appFinished)
public void write(DataOutputStream out, Set<File> pendingUploadFiles) throws IOException
IOExceptionpublic FileInputStream secureOpenFile(File logFile) throws IOException
IOExceptionpublic String getUser()
Copyright © 2018 CERN. All Rights Reserved.