com.hazelcast.client.impl.protocol.parameters
Class LongResultParameters

java.lang.Object
  extended by com.hazelcast.client.impl.protocol.parameters.LongResultParameters

public class LongResultParameters
extends Object

Created by muratayan on 4/22/15.


Field Summary
 long result
           
static ClientMessageType TYPE
          ClientMessageType of this message
 
Method Summary
static int calculateDataSize(long result)
          sample data size estimation
static LongResultParameters decode(ClientMessage flyweight)
           
static ClientMessage encode(long result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final ClientMessageType TYPE
ClientMessageType of this message


result

public long result
Method Detail

decode

public static LongResultParameters decode(ClientMessage flyweight)

encode

public static ClientMessage encode(long result)

calculateDataSize

public static int calculateDataSize(long result)
sample data size estimation

Returns:
size


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.