public class CacheObjectPortableContext extends CacheObjectContext
| Constructor and Description |
|---|
CacheObjectPortableContext(GridKernalContext kernalCtx,
boolean cpyOnGet,
boolean storeVal,
boolean portableEnabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
portableEnabled() |
Object |
unwrapPortableIfNeeded(Object o,
boolean keepPortable)
Unwraps object.
|
Collection<Object> |
unwrapPortablesIfNeeded(Collection<Object> col,
boolean keepPortable)
Unwraps collection.
|
Map<Object,Object> |
unwrapPortablesIfNeeded(Map<Object,Object> map,
boolean keepPortable)
Unwraps map.
|
copyOnGet, defaultAffMapper, kernalContext, p2pEnabled, processor, storeValuepublic CacheObjectPortableContext(GridKernalContext kernalCtx, boolean cpyOnGet, boolean storeVal, boolean portableEnabled)
kernalCtx - Kernal context.portableEnabled - Portable enabled flag.cpyOnGet - Copy on get flag.storeVal - True if should store unmarshalled value in cache.public boolean portableEnabled()
public Object unwrapPortableIfNeeded(Object o, boolean keepPortable)
unwrapPortableIfNeeded in class CacheObjectContexto - Object to unwrap.keepPortable - Keep portable flag.public Collection<Object> unwrapPortablesIfNeeded(Collection<Object> col, boolean keepPortable)
unwrapPortablesIfNeeded in class CacheObjectContextcol - Collection to unwrap.keepPortable - Keep portable flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015