2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.cluster.datastore.node.utils.stream;
10 final class TokenTypes {
11 private TokenTypes() {
12 throw new UnsupportedOperationException();
15 static final byte SIGNATURE_MARKER = (byte) 0xab;
18 * Original stream version. Uses a per-stream dictionary for strings. QNames are serialized as three strings.
20 static final short LITHIUM_VERSION = 1;
22 * Revised stream version. Unlike {@link #LITHIUM_VERSION}, QNames and QNameModules are using a per-stream
25 static final short NEON_SR2_VERSION = 2;
27 * From-scratch designed version shipping in Sodium SR1.
29 static final short SODIUM_SR1_VERSION = 3;
31 * Magnesium version. Structurally matches {@link #SODIUM_SR1_VERSION}, but does not allow BigIntegers to be
34 static final short MAGNESIUM_VERSION = 4;