/*
 * Copyright (C) Fredrik Larsson <nossralf@gmail.com>
 * All rights reserved.
 *
 * This software may be modified and distributed under the terms
 * of the BSD license.  See the LICENSE file for details.
 */
package com.analogmountains.flume;

public class MongoSinkConstants {

  /**
   * Comma-separated list of hostname:port. If the port is not present the
   * default port 27017 will be used.
   */
  public static final String HOSTNAMES = "hostNames";

  /**
   * Database name.
   */
  public static final String DATABASE = "database";

  /**
   * Collection name.
   */
  public static final String COLLECTION = "collection";

  /**
   * User name.
   */
  public static final String USER = "user";

  /**
   * Password.
   */
  public static final String PASSWORD = "password";

  /**
   * Maximum number of events the sink should take from the channel per
   * transaction, if available. Defaults to 100.
   */
  public static final String BATCH_SIZE = "batchSize";

  /**
   * The default batch size.
   */
  public static final int DEFAULT_BATCH_SIZE = 100;
}

@@ -240,23 +240,16 @@
 flume;%0A%0A
-public 
 class Mo
@@ -387,39 +387,32 @@
 e used.%0A   */%0A  
-public 
 static final Str
@@ -467,39 +467,32 @@
 e name.%0A   */%0A  
-public 
 static final Str
@@ -547,39 +547,32 @@
 n name.%0A   */%0A  
-public 
 static final Str
@@ -625,39 +625,32 @@
 r name.%0A   */%0A  
-public 
 static final Str
@@ -690,39 +690,32 @@
 ssword.%0A   */%0A  
-public 
 static final Str
@@ -869,39 +869,32 @@
 to 100.%0A   */%0A  
-public 
 static final Str
@@ -971,15 +971,8 @@
 /%0A  
-public 
 stat

Make constants class and members package private