Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
Modifier and Type | Method and Description |
---|---|
abstract ReservationDefinition |
ReservationSubmissionRequest.getReservationDefinition()
Get the
ReservationDefinition representing the user constraints for
this reservation |
abstract ReservationDefinition |
ReservationUpdateRequest.getReservationDefinition()
Get the
ReservationDefinition representing the updated user
constraints for this reservation |
Modifier and Type | Method and Description |
---|---|
static ReservationUpdateRequest |
ReservationUpdateRequest.newInstance(ReservationDefinition reservationDefinition,
ReservationId reservationId) |
static ReservationSubmissionRequest |
ReservationSubmissionRequest.newInstance(ReservationDefinition reservationDefinition,
String queueName,
ReservationId reservationId) |
abstract void |
ReservationSubmissionRequest.setReservationDefinition(ReservationDefinition reservationDefinition)
Set the
ReservationDefinition representing the user constraints for
this reservation |
abstract void |
ReservationUpdateRequest.setReservationDefinition(ReservationDefinition reservationDefinition)
Set the
ReservationDefinition representing the updated user
constraints for this reservation |
Modifier and Type | Method and Description |
---|---|
abstract ReservationDefinition |
ReservationAllocationState.getReservationDefinition()
Get the reservation definition used to make the reservation.
|
static ReservationDefinition |
ReservationDefinition.newInstance(long arrival,
long deadline,
ReservationRequests reservationRequests,
String name) |
static ReservationDefinition |
ReservationDefinition.newInstance(long arrival,
long deadline,
ReservationRequests reservationRequests,
String name,
String recurrenceExpression,
Priority priority) |
Modifier and Type | Method and Description |
---|---|
static ReservationAllocationState |
ReservationAllocationState.newInstance(long acceptanceTime,
String user,
List<ResourceAllocationRequest> resourceAllocations,
ReservationId reservationId,
ReservationDefinition reservationDefinition) |
Copyright © 2024 Apache Software Foundation. All rights reserved.