27241e99e0f53d05e54edc7998774591318ae7e9
[controller.git] / opendaylight / md-sal / sal-clustering-commons / src / main / java / org / opendaylight / controller / cluster / datastore / node / utils / stream / LithiumTokens.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.cluster.datastore.node.utils.stream;
9
10 /**
11  * Tokens related to Lithium/NeonSR2 encoding.
12  */
13 final class LithiumTokens {
14     /**
15      * The value is a reference to a previously-defined entity, typically through {@link #IS_STRING_VALUE}.
16      */
17     static final byte IS_CODE_VALUE = 1;
18     /**
19      * The value is a String, which needs to be kept memoized for the purposes for being referenced by
20      * {@link #IS_CODE_VALUE}.
21      */
22     static final byte IS_STRING_VALUE = 2;
23     /**
24      * The value is an explicit null.
25      */
26     static final byte IS_NULL_VALUE = 3;
27
28     private LithiumTokens() {
29
30     }
31 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.