@InterfaceAudience.Private public class CacheableDeserializerIdManager extends Object
CacheableDeserializer
Constructor and Description |
---|
CacheableDeserializerIdManager() |
Modifier and Type | Method and Description |
---|---|
static CacheableDeserializer<Cacheable> |
getDeserializer(int id)
Get the cacheable deserializer as the given identifier Id
|
static int |
registerDeserializer(CacheableDeserializer<Cacheable> cd)
Register the given cacheable deserializer and generate an unique identifier
id for it
|
public static int registerDeserializer(CacheableDeserializer<Cacheable> cd)
cd
- public static CacheableDeserializer<Cacheable> getDeserializer(int id)
id
- Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.