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
Madan Jampani
2014-11-12 01:51:25 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bd1f02652612bd433a096fdda1cb5fa2ab696426
bd1f0265
1 parent
932c6ba1
Registering new batch read/write request classes with kryo
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
core/store/dist/src/main/java/org/onlab/onos/store/service/impl/ClusterMessagingProtocol.java
core/store/dist/src/main/java/org/onlab/onos/store/service/impl/ClusterMessagingProtocol.java
View file @
bd1f026
...
...
@@ -45,11 +45,15 @@ import org.onlab.onos.store.serializers.ImmutableListSerializer;
import
org.onlab.onos.store.serializers.ImmutableMapSerializer
;
import
org.onlab.onos.store.serializers.ImmutableSetSerializer
;
import
org.onlab.onos.store.serializers.KryoSerializer
;
import
org.onlab.onos.store.service.BatchReadRequest
;
import
org.onlab.onos.store.service.BatchWriteRequest
;
import
org.onlab.onos.store.service.ReadRequest
;
import
org.onlab.onos.store.service.ReadResult
;
import
org.onlab.onos.store.service.ReadStatus
;
import
org.onlab.onos.store.service.VersionedValue
;
import
org.onlab.onos.store.service.WriteRequest
;
import
org.onlab.onos.store.service.WriteResult
;
import
org.onlab.onos.store.service.WriteStatus
;
import
org.onlab.util.KryoNamespace
;
import
org.slf4j.Logger
;
...
...
@@ -112,6 +116,10 @@ public class ClusterMessagingProtocol
.
register
(
InternalReadResult
.
Status
.
class
)
.
register
(
WriteResult
.
class
)
.
register
(
ReadResult
.
class
)
.
register
(
BatchReadRequest
.
class
)
.
register
(
BatchWriteRequest
.
class
)
.
register
(
ReadStatus
.
class
)
.
register
(
WriteStatus
.
class
)
.
register
(
InternalWriteResult
.
Status
.
class
)
.
register
(
VersionedValue
.
class
)
.
build
();
...
...
Please
register
or
login
to post a comment