class Movie::Cluster::AllocationSnapshot

Defined in:

movie/cluster/sharding/strategies.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(members : Array(Member), allocations : ShardAllocations, target_allocations : ShardAllocations | Nil = nil) #

[View source]

Instance Method Detail

def allocations : ShardAllocations #

[View source]
def members : Array(Member) #

[View source]
def target_allocations : ShardAllocations | Nil #

[View source]