com.cloudera.api.v4
Interface ReplicationsResourceV4

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

public interface ReplicationsResourceV4
extends ReplicationsResource


Method Summary
 ApiReplicationCommandList readHistory(long scheduleId, int limit, int offset, DataView dataView)
          Returns a list of commands triggered by a schedule.
 
Methods inherited from interface com.cloudera.api.v3.ReplicationsResource
createSchedules, deleteAllSchedules, deleteSchedule, readSchedule, readSchedules, runSchedule, updateSchedule
 

Method Detail

readHistory

@Path(value="/{scheduleId}/history")
ApiReplicationCommandList readHistory(long scheduleId,
                                           int limit,
                                           int offset,
                                           DataView dataView)
Returns a list of commands triggered by a schedule.

Parameters:
scheduleId - Id of an existing replication schedule.
limit - Maximum number of commands to retrieve.
offset - Index of first command to retrieve.
dataView - The view to materialize.
Returns:
List of commands for the schedule.


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