module

Ksuid::Partitioner

Class methods

hostname

Sets the partition based on the first 4 bytes of the hostname

This method is suited to containerized environments where the system hostname is guaranteed to be unique.

Source
no_partitions

Disables partitioning by always returning a partition of zero.

Source
string(s : String) : -> UInt32

Sets the partition based on the first 4 bytes of the given string

Source