Package com.hazelcast.nio.serialization

Examples of com.hazelcast.nio.serialization.DefaultData


        if (response instanceof Throwable) {
            isError = true;
            ClientExceptionConverter converter = ClientExceptionConverters.get(getClientType());
            clientResponseObject = converter.convert((Throwable) response);
        } else {
            clientResponseObject = response != null ? response : new DefaultData();
        }
        clientEngine.sendResponse(this, clientResponseObject, callId, isError, false);
    }
View Full Code Here


            } else if (!filteredKeys.isEmpty()) {
                cache.removeAll(filteredKeys);
            }
            response = new CacheClearResponse(Boolean.TRUE);
            int orderKey = keys != null ? keys.hashCode() : 1;
            cache.publishCompletedEvent(name, completionId, new DefaultData(), orderKey);
        } catch (CacheException e) {
            response = new CacheClearResponse(e);
        }
    }
View Full Code Here

                    out.writeData(key);
                    out.writeObject(record);
                }
            }
            //empty data will terminate the iteration for read
            out.writeData(new DefaultData());
        }
    }
View Full Code Here

    public CacheKeyIteratorOperation() {
    }

    public CacheKeyIteratorOperation(String name, int tableIndex, int size) {
        super(name, new DefaultData());
        this.tableIndex = tableIndex;
        this.size = size;
    }
View Full Code Here

            cache.clear();
            response = new CacheClearResponse(Boolean.TRUE);
        } catch (CacheException e) {
            response = new CacheClearResponse(e);
        }
        cache.publishCompletedEvent(name, completionId, new DefaultData(), 1);
    }
View Full Code Here

TOP

Related Classes of com.hazelcast.nio.serialization.DefaultData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.