flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From esam...@apache.org
Subject svn commit: r1161686 - /incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java
Date Thu, 25 Aug 2011 18:49:46 GMT
Author: esammer
Date: Thu Aug 25 18:49:45 2011
New Revision: 1161686

URL: http://svn.apache.org/viewvc?rev=1161686&view=rev
Log:
- Removed references to TextDelimitedOutputFormatter in favor of EventFormatter.

Modified:
    incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java

Modified: incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java
URL: http://svn.apache.org/viewvc/incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java?rev=1161686&r1=1161685&r2=1161686&view=diff
==============================================================================
--- incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java
(original)
+++ incubator/flume/branches/flume-728/flume-ng-core/src/main/java/org/apache/flume/sink/RollingFileSink.java
Thu Aug 25 18:49:45 2011
@@ -13,6 +13,7 @@ import org.apache.flume.Context;
 import org.apache.flume.CounterGroup;
 import org.apache.flume.Event;
 import org.apache.flume.EventDeliveryException;
+import org.apache.flume.formatter.output.EventFormatter;
 import org.apache.flume.formatter.output.PathManager;
 import org.apache.flume.formatter.output.TextDelimitedOutputFormatter;
 import org.apache.flume.lifecycle.LifecycleException;
@@ -35,7 +36,7 @@ public class RollingFileSink extends Abs
   private CounterGroup counterGroup;
 
   private PathManager pathController;
-  private TextDelimitedOutputFormatter formatter;
+  private EventFormatter formatter;
   private volatile boolean shouldRotate;
 
   public RollingFileSink() {
@@ -176,11 +177,11 @@ public class RollingFileSink extends Abs
     this.rollInterval = rollInterval;
   }
 
-  public TextDelimitedOutputFormatter getFormatter() {
+  public EventFormatter getFormatter() {
     return formatter;
   }
 
-  public void setFormatter(TextDelimitedOutputFormatter formatter) {
+  public void setFormatter(EventFormatter formatter) {
     this.formatter = formatter;
   }
 



Mime
View raw message