/** * @return {@code true} If value bytes should be stored. */ protected boolean isStoreValueBytes() { return cctx.config().isStoreValueBytes(); }
/** * @return {@code True} if values should be always unmarshalled. */ public boolean isUnmarshalValues() { return cacheCfg.isQueryIndexEnabled() || !cacheCfg.isStoreValueBytes(); }
/** * @param ccfg Cache configuration. * @return Data transfer object for cache store configuration properties. */ public static VisorStoreConfig from(GridCacheConfiguration ccfg) { VisorStoreConfig cfg = new VisorStoreConfig(); cfg.store(compactClass(ccfg.getStore())); cfg.valueBytes(ccfg.isStoreValueBytes()); return cfg; }
if (valBytes != null && val == null && !cctx.config().isStoreValueBytes()) { GridCacheVersion curDhtVer = dhtVersion();
seqReserveSize = cfg.getAtomicSequenceReserveSize(); storeEnabled = cfg.getStore() != null; storeValBytes = cfg.isStoreValueBytes(); swapEnabled = cfg.isSwapEnabled(); ttl = cfg.getDefaultTimeToLive();
startSize = cc.getStartSize(); store = cc.getStore(); storeValBytes = cc.isStoreValueBytes(); swapEnabled = cc.isSwapEnabled(); tmLookupClsName = cc.getTransactionManagerLookupClassName();