blob: 1c8f87617d8e07a3a4c52a79d273708830bec2a7 [file] [log] [blame]
Yuta HIGUCHI8f182192014-08-02 18:47:42 -07001package net.onrc.onos.core.util.serializers;
2
3/**
4 * Hazelcast serializer related constants.
5 */
6public final class HazelcastSerializationConstants {
7
8 // Type ID
9
10 /**
11 * Type ID for {@link net.onrc.onos.core.datastore.hazelcast.HZTable.VersionedValue}.
12 */
13 public static final int VERSIONED_VALUE_TYPE_ID = 1;
14
15 /**
16 * Type ID for {@link net.onrc.onos.core.util.distributed.sharedlog.internal.LogValue}.
17 */
18 public static final int LOG_VALUE_TYPE_ID = 2;
19
20
21 // Factory ID
22
23 // WARNING: hard coded value exist in hazelcast.xml
24 /**
25 * Factory ID for {@link net.onrc.onos.core.datastore.hazelcast.VersionedValueSerializableFactory}.
26 */
27 public static final int VERSIONED_VALUE_SERIALIZABLE_FACTORY_ID = 1;
28
29 /**
30 * Avoid instantiation.
31 */
32 private HazelcastSerializationConstants() {}
33}