Table of Contents

Class LegacyStringKeyEncoder

Namespace
Scaleout.Client.KeyEncoding
Assembly
Scaleout.Client.dll

Legacy string key encoder for accessing objects whose keys were encoded by the original ScaleOut NamedCache client libraries.

public class LegacyStringKeyEncoder : KeyEncoder<string>
Inheritance
LegacyStringKeyEncoder
Inherited Members

Constructors

LegacyStringKeyEncoder()

Default constructor. Initializes an internal cache of string keys to a default of 10,000 items to improve performance during event delivery and PMI operations.

LegacyStringKeyEncoder(int)

Constructs a LegacyStringKeyEncoder with an internal string key cache of the specified size.

Properties

IsStringEncoder

Gets whether this key encoder stores arbitrary-length string keys in the server.

Methods

Encode(string)

Encodes a string as a ScaleOut key that is compatible with legacy APIs.

FromBytes(byte[])

Decodes an encoded string key returned from the ScaleOut service.

See Also