com.hazelcast.cache.impl
Class CachePortableHook

java.lang.Object
  extended by com.hazelcast.cache.impl.CachePortableHook
All Implemented Interfaces:
PortableHook

public class CachePortableHook
extends Object
implements PortableHook

CachePortableHook contains all the ID hooks for classes used inside the JCache framework which implement Portable. JCache client request implementations are mapped in here.

This factory class is used by internal portable serialization.


Field Summary
static int ADD_ENTRY_LISTENER
           
static int ADD_INVALIDATION_LISTENER
           
static int CLEAR
           
static int CONTAINS_KEY
           
static int CREATE_CONFIG
           
static int DESTROY_CACHE
           
static int ENTRY_PROCESSOR
           
static int F_ID
           
static int GET
           
static int GET_ALL
           
static int GET_AND_REMOVE
           
static int GET_AND_REPLACE
           
static int GET_CONFIG
           
static int INVALIDATION_MESSAGE
           
static int ITERATE
           
static int LEN
           
static int LISTENER_REGISTRATION
           
static int LOAD_ALL
           
static int MANAGEMENT_CONFIG
           
static int PUT
           
static int PUT_IF_ABSENT
           
static int REMOVE
           
static int REMOVE_ENTRY_LISTENER
           
static int REMOVE_INVALIDATION_LISTENER
           
static int REPLACE
           
static int SEND_STATS
           
static int SIZE
           
 
Constructor Summary
CachePortableHook()
           
 
Method Summary
 PortableFactory createFactory()
           
 Collection<ClassDefinition> getBuiltinDefinitions()
           
 int getFactoryId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

F_ID

public static final int F_ID

GET

public static final int GET
See Also:
Constant Field Values

PUT

public static final int PUT
See Also:
Constant Field Values

PUT_IF_ABSENT

public static final int PUT_IF_ABSENT
See Also:
Constant Field Values

REMOVE

public static final int REMOVE
See Also:
Constant Field Values

GET_AND_REMOVE

public static final int GET_AND_REMOVE
See Also:
Constant Field Values

REPLACE

public static final int REPLACE
See Also:
Constant Field Values

GET_AND_REPLACE

public static final int GET_AND_REPLACE
See Also:
Constant Field Values

SIZE

public static final int SIZE
See Also:
Constant Field Values

CLEAR

public static final int CLEAR
See Also:
Constant Field Values

CONTAINS_KEY

public static final int CONTAINS_KEY
See Also:
Constant Field Values

ITERATE

public static final int ITERATE
See Also:
Constant Field Values

ADD_INVALIDATION_LISTENER

public static final int ADD_INVALIDATION_LISTENER
See Also:
Constant Field Values

INVALIDATION_MESSAGE

public static final int INVALIDATION_MESSAGE
See Also:
Constant Field Values

REMOVE_INVALIDATION_LISTENER

public static final int REMOVE_INVALIDATION_LISTENER
See Also:
Constant Field Values

SEND_STATS

public static final int SEND_STATS
See Also:
Constant Field Values

CREATE_CONFIG

public static final int CREATE_CONFIG
See Also:
Constant Field Values

GET_CONFIG

public static final int GET_CONFIG
See Also:
Constant Field Values

GET_ALL

public static final int GET_ALL
See Also:
Constant Field Values

LOAD_ALL

public static final int LOAD_ALL
See Also:
Constant Field Values

ENTRY_PROCESSOR

public static final int ENTRY_PROCESSOR
See Also:
Constant Field Values

MANAGEMENT_CONFIG

public static final int MANAGEMENT_CONFIG
See Also:
Constant Field Values

ADD_ENTRY_LISTENER

public static final int ADD_ENTRY_LISTENER
See Also:
Constant Field Values

REMOVE_ENTRY_LISTENER

public static final int REMOVE_ENTRY_LISTENER
See Also:
Constant Field Values

LISTENER_REGISTRATION

public static final int LISTENER_REGISTRATION
See Also:
Constant Field Values

DESTROY_CACHE

public static final int DESTROY_CACHE
See Also:
Constant Field Values

LEN

public static final int LEN
See Also:
Constant Field Values
Constructor Detail

CachePortableHook

public CachePortableHook()
Method Detail

getFactoryId

public int getFactoryId()
Specified by:
getFactoryId in interface PortableHook

createFactory

public PortableFactory createFactory()
Specified by:
createFactory in interface PortableHook

getBuiltinDefinitions

public Collection<ClassDefinition> getBuiltinDefinitions()
Specified by:
getBuiltinDefinitions in interface PortableHook


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.