public static class TestOutbox.MockData extends Object implements com.hazelcast.nio.serialization.Data
Constructor and Description |
---|
MockData(Object object)
Javadoc pending
|
Modifier and Type | Method and Description |
---|---|
void |
copyTo(byte[] dest,
int destPos) |
int |
dataSize() |
int |
getHeapCost() |
Object |
getObject()
Javadoc pending
|
int |
getPartitionHash() |
int |
getType() |
long |
hash64() |
boolean |
hasPartitionHash() |
boolean |
isPortable() |
byte[] |
toByteArray() |
int |
totalSize() |
public MockData(Object object)
public Object getObject()
public byte[] toByteArray()
toByteArray
in interface com.hazelcast.nio.serialization.Data
public int getType()
getType
in interface com.hazelcast.nio.serialization.Data
public int totalSize()
totalSize
in interface com.hazelcast.nio.serialization.Data
public void copyTo(byte[] dest, int destPos)
copyTo
in interface com.hazelcast.nio.serialization.Data
public int dataSize()
dataSize
in interface com.hazelcast.nio.serialization.Data
public int getHeapCost()
getHeapCost
in interface com.hazelcast.nio.serialization.Data
public int getPartitionHash()
getPartitionHash
in interface com.hazelcast.nio.serialization.Data
public boolean hasPartitionHash()
hasPartitionHash
in interface com.hazelcast.nio.serialization.Data
public long hash64()
hash64
in interface com.hazelcast.nio.serialization.Data
public boolean isPortable()
isPortable
in interface com.hazelcast.nio.serialization.Data
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.