public class CacheObjectContext extends Object
| Constructor and Description |
|---|
CacheObjectContext(GridKernalContext kernalCtx,
CacheAffinityKeyMapper dfltAffMapper,
boolean cpyOnGet,
boolean unmarshalVals) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
copyOnGet() |
CacheAffinityKeyMapper |
defaultAffMapper() |
GridKernalContext |
kernalContext() |
boolean |
p2pEnabled() |
IgniteCacheObjectProcessor |
processor() |
boolean |
unmarshalValues() |
Object |
unwrapPortableIfNeeded(Object o,
boolean keepPortable)
Unwraps object.
|
Collection<Object> |
unwrapPortablesIfNeeded(Collection<Object> col,
boolean keepPortable)
Unwraps collection.
|
public CacheObjectContext(GridKernalContext kernalCtx, CacheAffinityKeyMapper dfltAffMapper, boolean cpyOnGet, boolean unmarshalVals)
kernalCtx - Kernal context.dfltAffMapper - Default affinity mapper.cpyOnGet - Copy on get flag.unmarshalVals - Unmarshal values flag.public boolean p2pEnabled()
True if peer class loading is enabled.public boolean copyOnGet()
public boolean unmarshalValues()
public CacheAffinityKeyMapper defaultAffMapper()
public GridKernalContext kernalContext()
public IgniteCacheObjectProcessor processor()
public Object unwrapPortableIfNeeded(Object o, boolean keepPortable)
o - Object to unwrap.keepPortable - Keep portable flag.public Collection<Object> unwrapPortablesIfNeeded(Collection<Object> col, boolean keepPortable)
col - Collection to unwrap.keepPortable - Keep portable flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015