org.apache.blur.trace.hdfs
Class HdfsTraceStorage
java.lang.Object
org.apache.blur.trace.TraceStorage
org.apache.blur.trace.hdfs.HdfsTraceStorage
- All Implemented Interfaces:
- Closeable
public class HdfsTraceStorage
- extends TraceStorage
HdfsTraceStorage
public HdfsTraceStorage(BlurConfiguration configuration)
throws IOException
- Throws:
IOException
store
public void store(TraceCollector collector)
- Specified by:
store
in class TraceStorage
storeJson
public void storeJson(org.apache.hadoop.fs.Path storePath,
org.json.JSONObject jsonObject)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
getTraceIds
public List<String> getTraceIds()
throws IOException
- Specified by:
getTraceIds
in class TraceStorage
- Throws:
IOException
getRequestIds
public List<String> getRequestIds(String traceId)
throws IOException
- Specified by:
getRequestIds
in class TraceStorage
- Throws:
IOException
getRequestContentsJson
public String getRequestContentsJson(String traceId,
String requestId)
throws IOException
- Specified by:
getRequestContentsJson
in class TraceStorage
- Throws:
IOException
removeTrace
public void removeTrace(String traceId)
throws IOException
- Specified by:
removeTrace
in class TraceStorage
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.