Module: infinispan

Infinispan module.
Source:

Type Definitions

ClientOptions

Client configuration settings. Object instances that override these configuration options can be used on client construction to tweak its behaviour.
Type:
  • Object
Properties:
Name Type Attributes Description
version '2.5' | '2.2' Version of client/server protocol.
cacheName String <nullable>
Optional cache name.
Since:
  • 0.3
Source:

DurationUnit

A String formatted to specify duration unit information. Duration unit is formed of two elements, the first is the number of units, and the second is the unit itself: 's' for seconds, 'ms' for milliseconds, 'ns' for nanoseconds, 'μs' for microseconds, 'm' for minutes, 'h' for hours and 'd' for days. So, for example: '1s' would be one second, '5h' five hours...etc.
Type:
  • String
Since:
  • 0.3
Source:

Entry

Key/value entry.
Type:
  • Object
Properties:
Name Type Description
key String Entry's key.
value String Entry's value.
Since:
  • 0.3
Source:

ExecParams

Script execution parameters.
Type:
  • Object
Properties:
Name Type Description
PARAM_NAME String Name of the parameter.
PARAM_VALUE String Value of the parameter.
Since:
  • 0.3
Source:

IteratorNext

Iterator next object returned from completed Iterator.next() calls.
Type:
  • Object
Properties:
Name Type Attributes Description
key String <nullable>
If iteration not done, entry's key, otherwise undefined.
value String <nullable>
If iteration not done, entry's value, otherwise undefined.
done Boolean Indicates whether iteration has been completed. When true, key and value will be undefined. When false, key and value will be non-null.
Since:
  • 0.3
Source:

IteratorOptions

Iterator options defines a set of optional parameters that control how iteration occurs and the data that's iterated over.
Type:
  • Object
Properties:
Name Type Description
metadata Boolean Indicates whether entries iterated over also expose metadata information. This option is false by default which means no metadata information is exposed on iteration.
Since:
  • 0.3
Source:

ListenOptions

Listener options.
Type:
  • Object
Properties:
Name Type Description
listenerId String Listener identifier can be passed in as parameter to register multiple event callback functions for the same listener.
Since:
  • 0.3
Source:

MetadataValue

Metadata value.
Type:
  • Object
Properties:
Name Type Description
value String Value associated with the key
version Buffer Version of the value as a byte buffer.
lifespan Number Lifespan of entry, defined in seconds. If the entry is immortal, it would be -1.
maxIdle Number Max idle time of entry, defined in seconds. If the entry is no transient, it would be -1.
Since:
  • 0.3
Source:

MultiStoreOptions

Multi store options defines a set of optional parameters that can be passed when storing multiple entries.
Type:
  • Object
Properties:
Name Type Description
lifespan DurationUnit Lifespan for the stored entry.
maxIdle DurationUnit Max idle time for the stored entry.
Since:
  • 0.3
Source:

RemoveOptions

Remove options defines a set of optional parameters that can be passed when removing data.
Type:
  • Object
Properties:
Name Type Description
previous Boolean Indicates whether previous value should be returned. If no previous value exists, it would return undefined.
Since:
  • 0.3
Source:

ServerAddress

Server address.
Type:
  • Object
Properties:
Name Type Description
host String Server host name.
port Number Server port.
Since:
  • 0.3
Source:

StatsItem

Statistic item.
Type:
  • Object
Properties:
Name Type Description
STAT_NAME String Name of the statistic.
STAT_VALUE String Value of the statistic.
Since:
  • 0.3
Source:

StoreOptions

Store options defines a set of optional parameters that can be passed when storing data.
Type:
  • Object
Properties:
Name Type Description
previous Boolean Indicates whether previous value should be returned. If no previous value exists, it would return undefined.
lifespan DurationUnit Lifespan for the stored entry.
maxIdle DurationUnit Max idle time for the stored entry.
Since:
  • 0.3
Source: