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, pendingCheckpointState
public MultiStreamLease(MultiStreamLease other)
public void update(Lease other)
Lease
public MultiStreamLease copy()
public static MultiStreamLease validateAndCast(Lease lease)
lease
- Copyright © 2021. All rights reserved.