com.cloudera.api.v11
Interface ReplicationsResourceV11

All Superinterfaces:
ReplicationsResource, ReplicationsResourceV4
All Known Subinterfaces:
ReplicationsResourceV13, ReplicationsResourceV18

public interface ReplicationsResourceV11
extends ReplicationsResourceV4


Method Summary
 ApiCommand collectDiagnosticData(long scheduleId, ApiReplicationDiagnosticsCollectionArgs replicationCollectionArgs, DataView view)
          Collect diagnostic data for a schedule, optionally for a subset of commands on that schedule, matched by schedule ID.
 ApiReplicationScheduleList readSchedules(ApiReplicationScheduleDataLimits limits)
          Returns information for all replication schedules.
 
Methods inherited from interface com.cloudera.api.v4.ReplicationsResourceV4
readHistory
 
Methods inherited from interface com.cloudera.api.v3.ReplicationsResource
createSchedules, deleteAllSchedules, deleteSchedule, readSchedule, readSchedules, runSchedule, updateSchedule
 

Method Detail

readSchedules

@Path(value="/")
ApiReplicationScheduleList readSchedules(ApiReplicationScheduleDataLimits limits)
Returns information for all replication schedules.

Available since API v11.

Parameters:
limits - Various limits on contents of returned schedules.
Returns:
List of replication schedules.

collectDiagnosticData

@Path(value="/{scheduleId}/collectDiagnosticData")
ApiCommand collectDiagnosticData(long scheduleId,
                                      ApiReplicationDiagnosticsCollectionArgs replicationCollectionArgs,
                                      DataView view)
Collect diagnostic data for a schedule, optionally for a subset of commands on that schedule, matched by schedule ID. The returned command's resultDataUrl property, upon the commands completion, will refer to the generated diagnostic data. Available since API v11.

Parameters:
scheduleId - Schedule ID
replicationCollectionArgs - Replication collection arguments
view - view to materialize
Returns:
Command generated to collect the diagnostics data.


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