com.cloudera.api.model
Class ApiReplicationScheduleDataLimits

java.lang.Object
  extended by com.cloudera.api.model.ApiReplicationScheduleDataLimits

public class ApiReplicationScheduleDataLimits
extends Object

This class encapsulates the data limits that we want to put on ApiReplicationSchedule to avoid potential OOME. It is currently used when archiving replication history. Available since v11.


Constructor Summary
ApiReplicationScheduleDataLimits(int maxCommandsPerSchedule, int maxTablesPerResult, int maxErrorsPerResult)
           
 
Method Summary
 int getMaxCommandsPerSchedule()
           
 int getMaxErrorsPerResult()
           
 int getMaxTablesPerResult()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiReplicationScheduleDataLimits

public ApiReplicationScheduleDataLimits(int maxCommandsPerSchedule,
                                        int maxTablesPerResult,
                                        int maxErrorsPerResult)
Method Detail

getMaxCommandsPerSchedule

public int getMaxCommandsPerSchedule()
Returns:
Max number of ApiReplicationCommands per ApiReplicationSchedule.

getMaxTablesPerResult

public int getMaxTablesPerResult()
Returns:
Max number of ApiHiveTable per ApiHiveReplicationResult.

getMaxErrorsPerResult

public int getMaxErrorsPerResult()
Returns:
Max number of ApiHiveReplicationError per ApiHiveReplicationResult.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.