Click or drag to resize
Memcache Properties

The Memcache type exposes the following members.

Properties
  NameDescription
Public propertyBinarySerializable
获取或设置二进制序列化器,默认 JsonBinarySerializable, 可通过在appsetting中配置 MemcacheBinarySerializable 来指定其它实例
Public propertyCompressionThreshold
Sets the required length for data to be considered for compression. If the length of the data to be stored is not equal or larger than this value, it will not be compressed. This defaults to 15 KB.
Public propertyEnableCompression
Enable storing compressed data, provided it meets the threshold requirements. If enabled, data will be stored in compressed form if it is longer than the threshold length set with setCompressThreshold(int) The default is that compression is enabled. Even if compression is disabled, compressed data will be automatically decompressed.
Public propertyEncoding
Sets default string encoding when storing primitives as strings. Default is UTF-8.
Public propertyHost
主机
Public propertyIsConnected
Gets whether or not the socket is connected. Returns true if it is.
Public propertyPoolAbandon
获取或设置是否放弃此实例
Public propertyPort
端口
Public propertySendTimeout
发送超时
Top
See Also