struct
Movie::Persistence::ShardLeaseToken
- Movie::Persistence::ShardLeaseToken
- Struct
- Value
- Object
Defined in:
movie/persistence/protocol.crConstructors
Instance Method Summary
- #clone
- #copy_with(key _key = @key, owner _owner = @owner, epoch _epoch = @epoch, lease_until_epoch_ms _lease_until_epoch_ms = @lease_until_epoch_ms)
- #epoch : Int64
- #key : ShardLeaseKey
- #lease_until_epoch_ms : Int64
- #owner : String
Constructor Detail
def self.new(key : ShardLeaseKey, owner : String, epoch : Int64, lease_until_epoch_ms : Int64)
#
Instance Method Detail
def copy_with(key _key = @key, owner _owner = @owner, epoch _epoch = @epoch, lease_until_epoch_ms _lease_until_epoch_ms = @lease_until_epoch_ms)
#