public static final class ScheduleResult.Existing extends ScheduleResult
ScheduleResult.Created, ScheduleResult.Existing, ScheduleResult.Refused
Modifier and Type | Method and Description |
---|---|
Queue.Item |
getItem()
Unless
ScheduleResult.isRefused() is true, this method either returns
the newly created item in the queue or the existing item that's already
in the queue that matched the submitted task. |
created, existing, getCreateItem, isAccepted, isCreated, isRefused, refused
public Queue.Item getItem()
ScheduleResult
ScheduleResult.isRefused()
is true, this method either returns
the newly created item in the queue or the existing item that's already
in the queue that matched the submitted task.getItem
in class ScheduleResult
Copyright © 2004–2021. All rights reserved.