public class MultiStreamLease extends Lease
| Constructor and Description |
|---|
MultiStreamLease(MultiStreamLease other) |
| Modifier and Type | Method and Description |
|---|---|
MultiStreamLease |
copy()
Returns a deep copy of this object.
|
static String |
getLeaseKey(String streamIdentifier,
String shardId) |
void |
update(Lease other)
Updates this Lease's mutable, application-specific fields based on the passed-in lease object.
|
static MultiStreamLease |
validateAndCast(Lease lease)
Validate and cast the lease to MultiStream lease
|
checkpoint, childShardIds, concurrencyToken, hashKeyRange, isExpired, lastCounterIncrementNanos, leaseCounter, leaseKey, leaseOwner, ownerSwitchesSinceCheckpoint, parentShardIds, parentShardIds, pendingCheckpoint, pendingCheckpointStatepublic MultiStreamLease(MultiStreamLease other)
public void update(Lease other)
Leasepublic MultiStreamLease copy()
public static MultiStreamLease validateAndCast(Lease lease)
lease - Copyright © 2023. All rights reserved.