com.cloudera.api.model
Class ApiReplicationScheduleDataLimits
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApiReplicationScheduleDataLimits
public ApiReplicationScheduleDataLimits(int maxCommandsPerSchedule,
int maxTablesPerResult,
int maxErrorsPerResult)
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.