Documentation

HashGeneratorInterface

An hash generator implements the logic used to calculate the hash of a key to distribute operations among Redis nodes.

Tags
author

Daniele Alessandri suppakilla@gmail.com

Table of Contents

hash()  : int
Generates an hash from a string to be used for distribution.

Methods

hash()

Generates an hash from a string to be used for distribution.

public hash(string $value) : int
Parameters
$value : string

String value.

Return values
int

Search results