@Deprecated public class Clipboard extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<RequestDescriptor,VoidAggregation> |
clipboard
Deprecated.
|
protected AtomicInteger |
completedCounter
Deprecated.
|
protected Queue<VoidAggregation> |
completedQueue
Deprecated.
|
protected AtomicInteger |
trackingCounter
Deprecated.
|
| Constructor and Description |
|---|
Clipboard()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfCompleteStacks()
Deprecated.
|
int |
getNumberOfPinnedStacks()
Deprecated.
|
VoidAggregation |
getStackFromClipboard(long originatorId,
long taskId)
Deprecated.
|
boolean |
hasCandidates()
Deprecated.
This method checks, if clipboard has ready aggregations available
|
boolean |
isReady(long originatorId,
long taskId)
Deprecated.
|
boolean |
isReady(VoidAggregation aggregation)
Deprecated.
|
boolean |
isTracking(long originatorId,
long taskId)
Deprecated.
|
VoidAggregation |
nextCandidate()
Deprecated.
This method returns one of available aggregations, if there's at least 1 ready.
|
boolean |
pin(@NonNull VoidAggregation aggregation)
Deprecated.
This method places incoming VoidAggregation into clipboard, for further tracking
|
VoidAggregation |
unpin(long originatorId,
long taskId)
Deprecated.
This method removes given VoidAggregation from clipboard, and returns it
|
VoidAggregation |
unpin(@NonNull VoidAggregation aggregation)
Deprecated.
This method removes given VoidAggregation from clipboard, and returns it
|
protected Map<RequestDescriptor,VoidAggregation> clipboard
protected Queue<VoidAggregation> completedQueue
protected AtomicInteger trackingCounter
protected AtomicInteger completedCounter
public boolean pin(@NonNull
@NonNull VoidAggregation aggregation)
aggregation - public VoidAggregation unpin(@NonNull @NonNull VoidAggregation aggregation)
aggregation - public VoidAggregation unpin(long originatorId, long taskId)
taskId - public boolean hasCandidates()
public VoidAggregation nextCandidate()
public boolean isReady(VoidAggregation aggregation)
public boolean isReady(long originatorId,
long taskId)
public boolean isTracking(long originatorId,
long taskId)
public int getNumberOfPinnedStacks()
public int getNumberOfCompleteStacks()
public VoidAggregation getStackFromClipboard(long originatorId, long taskId)
Copyright © 2021. All rights reserved.