All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ct.copycat-core.0.5.1.onos.source-code.serializer-defaults.conf Maven / Gradle / Ivy

The newest version!
# Copyright 2014 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Default serializer configuration.
# To override the default serializer configuration, define a "serializer.conf" resource on the classpath.

# class specifies the serializer class.
class: net.kuujo.copycat.util.serializer.KryoSerializer

# Registrations is a map of registration IDs to classes for Kryo serialization. All nodes in the Copycat cluster
# should contain the same registered classes with the same IDs.
registrations {
  101: net.kuujo.copycat.raft.protocol.SyncRequest
  102: net.kuujo.copycat.raft.protocol.SyncResponse
  103: net.kuujo.copycat.raft.protocol.PollRequest
  104: net.kuujo.copycat.raft.protocol.PollResponse
  105: net.kuujo.copycat.raft.protocol.VoteRequest
  106: net.kuujo.copycat.raft.protocol.VoteResponse
  107: net.kuujo.copycat.raft.protocol.AppendRequest
  108: net.kuujo.copycat.raft.protocol.AppendResponse
  109: net.kuujo.copycat.raft.protocol.QueryRequest
  110: net.kuujo.copycat.raft.protocol.QueryResponse
  111: net.kuujo.copycat.raft.protocol.CommitRequest
  112: net.kuujo.copycat.raft.protocol.CommitResponse
  113: net.kuujo.copycat.raft.protocol.ReplicaInfo
  114: net.kuujo.copycat.cluster.internal.MemberInfo
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy