Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.cli.interpreter.codec
Class NoneCodec

java.lang.Object
  extended by org.infinispan.cli.interpreter.codec.NoneCodec
All Implemented Interfaces:
Codec

public class NoneCodec
extends Object
implements Codec

NoneCodec. This codec leaves keys/values as is without applying any transformation It is the default codec.

Since:
5.2
Author:
Tristan Tarrant

Constructor Summary
NoneCodec()
           
 
Method Summary
 Object decodeKey(Object key)
           
 Object decodeValue(Object value)
           
 Object encodeKey(Object key)
           
 Object encodeValue(Object value)
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoneCodec

public NoneCodec()
Method Detail

getName

public String getName()
Specified by:
getName in interface Codec

encodeKey

public Object encodeKey(Object key)
Specified by:
encodeKey in interface Codec

encodeValue

public Object encodeValue(Object value)
Specified by:
encodeValue in interface Codec

decodeKey

public Object decodeKey(Object key)
Specified by:
decodeKey in interface Codec

decodeValue

public Object decodeValue(Object value)
Specified by:
decodeValue in interface Codec

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.