struct Movie::Persistence::ShardLeaseToken

Defined in:

movie/persistence/protocol.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : ShardLeaseKey, owner : String, epoch : Int64, lease_until_epoch_ms : Int64) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(key _key = @key, owner _owner = @owner, epoch _epoch = @epoch, lease_until_epoch_ms _lease_until_epoch_ms = @lease_until_epoch_ms) #

[View source]
def epoch : Int64 #

def key : ShardLeaseKey #

def lease_until_epoch_ms : Int64 #

def owner : String #