public class PostProcessorManager extends Object
Constructor and Description |
---|
PostProcessorManager() |
PostProcessorManager(ChukwaConfiguration conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
deleteDirectory(String directory) |
static void |
main(String[] args) |
boolean |
moveToInErrorDirectory(String sourceDirectory,
String dirName,
String inErrorDirectory) |
org.apache.hadoop.fs.Path[] |
movetoMainRepository(String sourceDirectory,
String repoRootDirectory) |
boolean |
processDataLoaders(String directory) |
boolean |
processPostMoveTriggers(org.apache.hadoop.fs.Path[] files) |
void |
shutdown() |
void |
start() |
public PostProcessorManager(ChukwaConfiguration conf) throws Exception
Exception
public void shutdown()
public void start()
public boolean processDataLoaders(String directory) throws IOException
IOException
public boolean processPostMoveTriggers(org.apache.hadoop.fs.Path[] files) throws IOException
IOException
public org.apache.hadoop.fs.Path[] movetoMainRepository(String sourceDirectory, String repoRootDirectory) throws Exception
Exception
public boolean moveToInErrorDirectory(String sourceDirectory, String dirName, String inErrorDirectory) throws Exception
Exception
public boolean deleteDirectory(String directory) throws IOException
IOException
Copyright © 2016 Apache Software Foundation. All Rights Reserved.