Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Yuta HIGUCHI
2014-10-19 23:15:09 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8d143d2a0180c5aed51274962a0653f1ac6106c5
8d143d2a
1 parent
b105fd47
Rename KryoPool -> KryoNamespace
Change-Id: Ife1c311b40eaab133bb3b8dd3314b98c60b4411d
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
59 additions
and
59 deletions
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/impl/ClusterCommunicationManager.java
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/GossipDeviceStore.java
core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java
core/store/dist/src/main/java/org/onlab/onos/store/host/impl/GossipHostStore.java
core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java
core/store/dist/src/main/java/org/onlab/onos/store/serializers/DistributedStoreSerializers.java
core/store/dist/src/test/java/org/onlab/onos/store/impl/MastershipBasedTimestampTest.java
core/store/dist/src/test/java/org/onlab/onos/store/impl/TimestampedTest.java
core/store/dist/src/test/java/org/onlab/onos/store/impl/WallClockTimestampTest.java
core/store/hz/cluster/src/main/java/org/onlab/onos/store/mastership/impl/DistributedMastershipStore.java
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableListSerializer.java
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableMapSerializer.java
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableSetSerializer.java
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoPoolUtil.java → core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoNamespaces.java
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoSerializer.java
core/store/serializers/src/test/java/org/onlab/onos/store/serializers/KryoSerializerTest.java
utils/misc/src/main/java/org/onlab/util/KryoPool.java → utils/misc/src/main/java/org/onlab/util/KryoNamespace.java
utils/netty/src/main/java/org/onlab/netty/KryoSerializer.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/impl/ClusterCommunicationManager.java
View file @
8d143d2
...
...
@@ -23,10 +23,10 @@ import org.onlab.onos.store.cluster.messaging.ClusterMessageHandler;
import
org.onlab.onos.store.cluster.messaging.ClusterMessageResponse
;
import
org.onlab.onos.store.cluster.messaging.MessageSubject
;
import
org.onlab.onos.store.serializers.ClusterMessageSerializer
;
import
org.onlab.onos.store.serializers.Kryo
PoolUtil
;
import
org.onlab.onos.store.serializers.Kryo
Namespaces
;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.onos.store.serializers.MessageSubjectSerializer
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
org.onlab.netty.Endpoint
;
import
org.onlab.netty.Message
;
import
org.onlab.netty.MessageHandler
;
...
...
@@ -52,8 +52,8 @@ public class ClusterCommunicationManager
private
static
final
KryoSerializer
SERIALIZER
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
.
register
(
Kryo
PoolUtil
.
API
)
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
Kryo
Namespaces
.
API
)
.
register
(
ClusterMessage
.
class
,
new
ClusterMessageSerializer
())
.
register
(
ClusterMembershipEvent
.
class
)
.
register
(
byte
[].
class
)
...
...
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/GossipDeviceStore.java
View file @
8d143d2
...
...
@@ -42,7 +42,7 @@ import org.onlab.onos.store.impl.Timestamped;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.onos.store.serializers.DistributedStoreSerializers
;
import
org.onlab.packet.ChassisId
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
org.onlab.util.NewConcurrentHashMap
;
import
org.slf4j.Logger
;
...
...
@@ -117,7 +117,7 @@ public class GossipDeviceStore
protected
static
final
KryoSerializer
SERIALIZER
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
DistributedStoreSerializers
.
COMMON
)
.
register
(
InternalDeviceEvent
.
class
,
new
InternalDeviceEventSerializer
())
...
...
core/store/dist/src/main/java/org/onlab/onos/store/flow/impl/DistributedFlowRuleStore.java
View file @
8d143d2
...
...
@@ -35,7 +35,7 @@ import org.onlab.onos.store.flow.ReplicaInfo;
import
org.onlab.onos.store.flow.ReplicaInfoService
;
import
org.onlab.onos.store.serializers.DistributedStoreSerializers
;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
org.slf4j.Logger
;
import
com.google.common.collect.ArrayListMultimap
;
...
...
@@ -72,7 +72,7 @@ public class DistributedFlowRuleStore
protected
static
final
KryoSerializer
SERIALIZER
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
DistributedStoreSerializers
.
COMMON
)
.
build
()
.
populate
(
1
);
...
...
core/store/dist/src/main/java/org/onlab/onos/store/host/impl/GossipHostStore.java
View file @
8d143d2
...
...
@@ -44,7 +44,7 @@ import org.onlab.onos.store.serializers.KryoSerializer;
import
org.onlab.packet.IpPrefix
;
import
org.onlab.packet.MacAddress
;
import
org.onlab.packet.VlanId
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
org.slf4j.Logger
;
import
java.io.IOException
;
...
...
@@ -99,7 +99,7 @@ public class GossipHostStore
private
static
final
KryoSerializer
SERIALIZER
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
DistributedStoreSerializers
.
COMMON
)
.
register
(
InternalHostEvent
.
class
)
.
register
(
InternalHostRemovedEvent
.
class
)
...
...
core/store/dist/src/main/java/org/onlab/onos/store/link/impl/GossipLinkStore.java
View file @
8d143d2
...
...
@@ -42,7 +42,7 @@ import org.onlab.onos.store.cluster.messaging.MessageSubject;
import
org.onlab.onos.store.impl.Timestamped
;
import
org.onlab.onos.store.serializers.DistributedStoreSerializers
;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
org.slf4j.Logger
;
import
java.io.IOException
;
...
...
@@ -110,7 +110,7 @@ public class GossipLinkStore
private
static
final
KryoSerializer
SERIALIZER
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
DistributedStoreSerializers
.
COMMON
)
.
register
(
InternalLinkEvent
.
class
)
.
register
(
InternalLinkRemovedEvent
.
class
)
...
...
core/store/dist/src/main/java/org/onlab/onos/store/serializers/DistributedStoreSerializers.java
View file @
8d143d2
...
...
@@ -3,15 +3,15 @@ package org.onlab.onos.store.serializers;
import
org.onlab.onos.store.impl.MastershipBasedTimestamp
;
import
org.onlab.onos.store.impl.Timestamped
;
import
org.onlab.onos.store.impl.WallClockTimestamp
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
public
final
class
DistributedStoreSerializers
{
/**
* Kryo
Pool
which can serialize ON.lab misc classes.
* Kryo
Namespace
which can serialize ON.lab misc classes.
*/
public
static
final
Kryo
Pool
COMMON
=
KryoPool
.
newBuilder
()
.
register
(
Kryo
PoolUtil
.
API
)
public
static
final
Kryo
Namespace
COMMON
=
KryoNamespace
.
newBuilder
()
.
register
(
Kryo
Namespaces
.
API
)
.
register
(
Timestamped
.
class
)
.
register
(
MastershipBasedTimestamp
.
class
,
new
MastershipBasedTimestampSerializer
())
.
register
(
WallClockTimestamp
.
class
)
...
...
core/store/dist/src/test/java/org/onlab/onos/store/impl/MastershipBasedTimestampTest.java
View file @
8d143d2
...
...
@@ -7,7 +7,7 @@ import java.nio.ByteBuffer;
import
org.junit.Test
;
import
org.onlab.onos.store.Timestamp
;
import
org.onlab.onos.store.serializers.MastershipBasedTimestampSerializer
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.testing.EqualsTester
;
...
...
@@ -63,7 +63,7 @@ public class MastershipBasedTimestampTest {
@Test
public
final
void
testKryoSerializable
()
{
final
ByteBuffer
buffer
=
ByteBuffer
.
allocate
(
1
*
1024
*
1024
);
final
Kryo
Pool
kryos
=
KryoPool
.
newBuilder
()
final
Kryo
Namespace
kryos
=
KryoNamespace
.
newBuilder
()
.
register
(
MastershipBasedTimestamp
.
class
)
.
build
();
...
...
@@ -79,7 +79,7 @@ public class MastershipBasedTimestampTest {
@Test
public
final
void
testKryoSerializableWithHandcraftedSerializer
()
{
final
ByteBuffer
buffer
=
ByteBuffer
.
allocate
(
1
*
1024
*
1024
);
final
Kryo
Pool
kryos
=
KryoPool
.
newBuilder
()
final
Kryo
Namespace
kryos
=
KryoNamespace
.
newBuilder
()
.
register
(
MastershipBasedTimestamp
.
class
,
new
MastershipBasedTimestampSerializer
())
.
build
();
...
...
core/store/dist/src/test/java/org/onlab/onos/store/impl/TimestampedTest.java
View file @
8d143d2
...
...
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
import
org.junit.Test
;
import
org.onlab.onos.store.Timestamp
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.testing.EqualsTester
;
...
...
@@ -77,7 +77,7 @@ public class TimestampedTest {
@Test
public
final
void
testKryoSerializable
()
{
final
ByteBuffer
buffer
=
ByteBuffer
.
allocate
(
1
*
1024
*
1024
);
final
Kryo
Pool
kryos
=
KryoPool
.
newBuilder
()
final
Kryo
Namespace
kryos
=
KryoNamespace
.
newBuilder
()
.
register
(
Timestamped
.
class
,
MastershipBasedTimestamp
.
class
)
.
build
();
...
...
core/store/dist/src/test/java/org/onlab/onos/store/impl/WallClockTimestampTest.java
View file @
8d143d2
...
...
@@ -6,7 +6,7 @@ import java.nio.ByteBuffer;
import
org.junit.Test
;
import
org.onlab.onos.store.Timestamp
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.testing.EqualsTester
;
...
...
@@ -30,7 +30,7 @@ public class WallClockTimestampTest {
public
final
void
testKryoSerializable
()
{
WallClockTimestamp
ts1
=
new
WallClockTimestamp
();
final
ByteBuffer
buffer
=
ByteBuffer
.
allocate
(
1
*
1024
*
1024
);
final
Kryo
Pool
kryos
=
KryoPool
.
newBuilder
()
final
Kryo
Namespace
kryos
=
KryoNamespace
.
newBuilder
()
.
register
(
WallClockTimestamp
.
class
)
.
build
();
...
...
core/store/hz/cluster/src/main/java/org/onlab/onos/store/mastership/impl/DistributedMastershipStore.java
View file @
8d143d2
...
...
@@ -24,9 +24,9 @@ import org.onlab.onos.net.DeviceId;
import
org.onlab.onos.net.MastershipRole
;
import
org.onlab.onos.store.common.AbstractHazelcastStore
;
import
org.onlab.onos.store.common.SMap
;
import
org.onlab.onos.store.serializers.Kryo
PoolUtil
;
import
org.onlab.onos.store.serializers.Kryo
Namespaces
;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.collect.ImmutableSet
;
import
com.hazelcast.core.EntryEvent
;
...
...
@@ -69,8 +69,8 @@ implements MastershipStore {
this
.
serializer
=
new
KryoSerializer
()
{
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
.
register
(
Kryo
PoolUtil
.
API
)
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
Kryo
Namespaces
.
API
)
.
register
(
RoleValue
.
class
,
new
RoleValueSerializer
())
.
build
()
...
...
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableListSerializer.java
View file @
8d143d2
package
org
.
onlab
.
onos
.
store
.
serializers
;
import
org.onlab.util.Kryo
Pool
.FamilySerializer
;
import
org.onlab.util.Kryo
Namespace
.FamilySerializer
;
import
com.esotericsoftware.kryo.Kryo
;
import
com.esotericsoftware.kryo.io.Input
;
...
...
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableMapSerializer.java
View file @
8d143d2
...
...
@@ -4,7 +4,7 @@ import java.util.Collections;
import
java.util.HashMap
;
import
java.util.Map
;
import
org.onlab.util.Kryo
Pool
.FamilySerializer
;
import
org.onlab.util.Kryo
Namespace
.FamilySerializer
;
import
com.esotericsoftware.kryo.Kryo
;
import
com.esotericsoftware.kryo.io.Input
;
...
...
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/ImmutableSetSerializer.java
View file @
8d143d2
...
...
@@ -3,7 +3,7 @@ package org.onlab.onos.store.serializers;
import
java.util.ArrayList
;
import
java.util.List
;
import
org.onlab.util.Kryo
Pool
.FamilySerializer
;
import
org.onlab.util.Kryo
Namespace
.FamilySerializer
;
import
com.esotericsoftware.kryo.Kryo
;
import
com.esotericsoftware.kryo.io.Input
;
...
...
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/Kryo
PoolUtil
.java
→
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/Kryo
Namespaces
.java
View file @
8d143d2
...
...
@@ -36,18 +36,18 @@ import org.onlab.packet.IpAddress;
import
org.onlab.packet.IpPrefix
;
import
org.onlab.packet.MacAddress
;
import
org.onlab.packet.VlanId
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableMap
;
import
com.google.common.collect.ImmutableSet
;
public
final
class
Kryo
PoolUtil
{
public
final
class
Kryo
Namespaces
{
/**
* Kryo
Pool
which can serialize ON.lab misc classes.
* Kryo
Namespace
which can serialize ON.lab misc classes.
*/
public
static
final
Kryo
Pool
MISC
=
KryoPool
.
newBuilder
()
public
static
final
Kryo
Namespace
MISC
=
KryoNamespace
.
newBuilder
()
.
register
(
IpPrefix
.
class
,
new
IpPrefixSerializer
())
.
register
(
IpAddress
.
class
,
new
IpAddressSerializer
())
.
register
(
MacAddress
.
class
,
new
MacAddressSerializer
())
...
...
@@ -56,9 +56,9 @@ public final class KryoPoolUtil {
// TODO: Populate other classes
/**
* Kryo
Pool
which can serialize API bundle classes.
* Kryo
Namespace
which can serialize API bundle classes.
*/
public
static
final
Kryo
Pool
API
=
KryoPool
.
newBuilder
()
public
static
final
Kryo
Namespace
API
=
KryoNamespace
.
newBuilder
()
.
register
(
MISC
)
.
register
(
ImmutableMap
.
class
,
new
ImmutableMapSerializer
())
.
register
(
ImmutableList
.
class
,
new
ImmutableListSerializer
())
...
...
@@ -104,5 +104,5 @@ public final class KryoPoolUtil {
// not to be instantiated
private
Kryo
PoolUtil
()
{}
private
Kryo
Namespaces
()
{}
}
...
...
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoSerializer.java
View file @
8d143d2
package
org
.
onlab
.
onos
.
store
.
serializers
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
java.nio.ByteBuffer
;
/**
...
...
@@ -8,7 +8,7 @@ import java.nio.ByteBuffer;
*/
public
class
KryoSerializer
implements
StoreSerializer
{
protected
Kryo
Pool
serializerPool
;
protected
Kryo
Namespace
serializerPool
;
public
KryoSerializer
()
{
setupKryoPool
();
...
...
@@ -18,8 +18,8 @@ public class KryoSerializer implements StoreSerializer {
* Sets up the common serialzers pool.
*/
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
.
register
(
Kryo
PoolUtil
.
API
)
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
Kryo
Namespaces
.
API
)
.
build
()
.
populate
(
1
);
}
...
...
core/store/serializers/src/test/java/org/onlab/onos/store/serializers/KryoSerializerTest.java
View file @
8d143d2
...
...
@@ -30,7 +30,7 @@ import org.onlab.packet.ChassisId;
import
org.onlab.packet.IpAddress
;
import
org.onlab.packet.IpPrefix
;
import
org.onlab.packet.MacAddress
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
com.google.common.collect.ImmutableList
;
import
com.google.common.collect.ImmutableMap
;
...
...
@@ -76,8 +76,8 @@ public class KryoSerializerTest {
@Override
protected
void
setupKryoPool
()
{
serializerPool
=
Kryo
Pool
.
newBuilder
()
.
register
(
Kryo
PoolUtil
.
API
)
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
Kryo
Namespaces
.
API
)
.
build
()
.
populate
(
1
);
}
...
...
utils/misc/src/main/java/org/onlab/util/Kryo
Pool
.java
→
utils/misc/src/main/java/org/onlab/util/Kryo
Namespace
.java
View file @
8d143d2
...
...
@@ -20,7 +20,7 @@ import com.google.common.collect.ImmutableList;
* Pool of Kryo instances, with classes pre-registered.
*/
//@ThreadSafe
public
final
class
Kryo
Pool
{
public
final
class
Kryo
Namespace
{
/**
* Default buffer size used for serialization.
...
...
@@ -34,7 +34,7 @@ public final class KryoPool {
private
final
boolean
registrationRequired
;
/**
* Kryo
Pool
builder.
* Kryo
Namespace
builder.
*/
//@NotThreadSafe
public
static
final
class
Builder
{
...
...
@@ -42,12 +42,12 @@ public final class KryoPool {
private
final
List
<
Pair
<
Class
<?>,
Serializer
<?>>>
types
=
new
ArrayList
<>();
/**
* Builds a {@link Kryo
Pool
} instance.
* Builds a {@link Kryo
Namespace
} instance.
*
* @return Kryo
Pool
* @return Kryo
Namespace
*/
public
Kryo
Pool
build
()
{
return
new
Kryo
Pool
(
types
);
public
Kryo
Namespace
build
()
{
return
new
Kryo
Namespace
(
types
);
}
/**
...
...
@@ -76,19 +76,19 @@ public final class KryoPool {
}
/**
* Registers all the class registered to given Kryo
Pool
.
* Registers all the class registered to given Kryo
Namespace
.
*
* @param pool Kryo
Pool
* @param pool Kryo
Namespace
* @return this
*/
public
Builder
register
(
final
Kryo
Pool
pool
)
{
public
Builder
register
(
final
Kryo
Namespace
pool
)
{
types
.
addAll
(
pool
.
registeredTypes
);
return
this
;
}
}
/**
* Creates a new {@link Kryo
Pool
} builder.
* Creates a new {@link Kryo
Namespace
} builder.
*
* @return builder
*/
...
...
@@ -101,7 +101,7 @@ public final class KryoPool {
*
* @param registerdTypes types to register
*/
private
Kryo
Pool
(
final
List
<
Pair
<
Class
<?>,
Serializer
<?>>>
registerdTypes
)
{
private
Kryo
Namespace
(
final
List
<
Pair
<
Class
<?>,
Serializer
<?>>>
registerdTypes
)
{
this
.
registeredTypes
=
ImmutableList
.
copyOf
(
registerdTypes
);
// always true for now
this
.
registrationRequired
=
true
;
...
...
@@ -113,7 +113,7 @@ public final class KryoPool {
* @param instances to add to the pool
* @return this
*/
public
Kryo
Pool
populate
(
int
instances
)
{
public
Kryo
Namespace
populate
(
int
instances
)
{
List
<
Kryo
>
kryos
=
new
ArrayList
<>(
instances
);
for
(
int
i
=
0
;
i
<
instances
;
++
i
)
{
kryos
.
add
(
newKryoInstance
());
...
...
utils/netty/src/main/java/org/onlab/netty/KryoSerializer.java
View file @
8d143d2
package
org
.
onlab
.
netty
;
import
org.onlab.util.Kryo
Pool
;
import
org.onlab.util.Kryo
Namespace
;
import
java.nio.ByteBuffer
;
import
java.util.ArrayList
;
...
...
@@ -12,7 +12,7 @@ import java.util.HashMap;
*/
public
class
KryoSerializer
{
private
Kryo
Pool
serializerPool
;
private
Kryo
Namespace
serializerPool
;
public
KryoSerializer
()
{
setupKryoPool
();
...
...
@@ -23,7 +23,7 @@ public class KryoSerializer {
*/
protected
void
setupKryoPool
()
{
// FIXME Slice out types used in common to separate pool/namespace.
serializerPool
=
Kryo
Pool
.
newBuilder
()
serializerPool
=
Kryo
Namespace
.
newBuilder
()
.
register
(
ArrayList
.
class
,
HashMap
.
class
,
ArrayList
.
class
,
...
...
Please
register
or
login
to post a comment