@Override public final int getPartitionId(Object key) { return getPartitionId(nodeEngine.toData(key)); }
@Override protected ClientMessage encodeResponse(Object response) { return AtomicLongApplyCodec.encodeResponse(nodeEngine.toData(response)); }
@Override protected ClientMessage encodeResponse(Object response) { return AtomicLongApplyCodec.encodeResponse(nodeEngine.toData(response)); }
@Override public final int getPartitionId(Object key) { return getPartitionId(nodeEngine.toData(key)); }
private Data serializeCacheConfig(Object response) { Data responseData = null; if (BuildInfo.UNKNOWN_HAZELCAST_VERSION == endpoint.getClientVersion()) { boolean compatibilityEnabled = nodeEngine.getProperties().getBoolean(GroupProperty.COMPATIBILITY_3_6_CLIENT_ENABLED); if (compatibilityEnabled) { responseData = nodeEngine.toData(response == null ? null : new LegacyCacheConfig((CacheConfig) response)); } } if (null == responseData) { responseData = nodeEngine.toData(response); } return responseData; } }
private Data serializeCacheConfig(Object response) { Data responseData = null; if (BuildInfo.UNKNOWN_HAZELCAST_VERSION == endpoint.getClientVersion()) { boolean compatibilityEnabled = nodeEngine.getProperties().getBoolean(GroupProperty.COMPATIBILITY_3_6_CLIENT_ENABLED); if (compatibilityEnabled) { responseData = nodeEngine.toData(response == null ? null : new LegacyCacheConfig((CacheConfig) response)); } } if (null == responseData) { responseData = nodeEngine.toData(response); } return responseData; } }
private Data serializeCacheConfig(Object response) { Data responseData = null; if (BuildInfo.UNKNOWN_HAZELCAST_VERSION == endpoint.getClientVersion()) { boolean compatibilityEnabled = nodeEngine.getProperties().getBoolean(GroupProperty.COMPATIBILITY_3_6_CLIENT_ENABLED); if (compatibilityEnabled) { responseData = nodeEngine.toData(response == null ? null : new LegacyCacheConfig((CacheConfig) response)); } } if (null == responseData) { responseData = nodeEngine.toData(response); } return responseData; } }
private Data serializeCacheConfig(Object response) { Data responseData = null; if (BuildInfo.UNKNOWN_HAZELCAST_VERSION == endpoint.getClientVersion()) { boolean compatibilityEnabled = nodeEngine.getProperties().getBoolean(GroupProperty.COMPATIBILITY_3_6_CLIENT_ENABLED); if (compatibilityEnabled) { responseData = nodeEngine.toData(response == null ? null : new LegacyCacheConfig((CacheConfig) response)); } } if (null == responseData) { responseData = nodeEngine.toData(response); } return responseData; } }