Class FSTClazzInfo

java.lang.Object
org.nustaq.serialization.FSTClazzInfo

public final class FSTClazzInfo extends Object
Created with IntelliJ IDEA. User: Möller Date: 03.11.12 Time: 13:08 To change this template use File | Settings | File Templates.
  • Field Details

    • BufferConstructorMeta

      public static boolean BufferConstructorMeta
    • BufferFieldMeta

      public static boolean BufferFieldMeta
    • sharedFieldSets

      public static ConcurrentHashMap<Class,Field[]> sharedFieldSets
      cache + share j.reflect.Field. This can be cleared in case it gets too fat/leaks mem (e.g. class reloading)
    • defFieldComparator

      public static final Comparator<FSTClazzInfo.FSTFieldInfo> defFieldComparator
    • instantiator

      protected FSTClassInstantiator instantiator
  • Constructor Details

  • Method Details

    • getDecoderAttached

      public Object getDecoderAttached()
    • setDecoderAttached

      public void setDecoderAttached(Object decoderAttached)
    • getBufferedName

      public byte[] getBufferedName()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isAsciiNameShortString

      public boolean isAsciiNameShortString()
    • getClzId

      public int getClzId()
    • setClzId

      public void setClzId(int clzId)
    • getNumBoolFields

      public int getNumBoolFields()
    • isExternalizable

      public boolean isExternalizable()
    • isFlat

      public final boolean isFlat()
    • getPredict

      public final Class[] getPredict()
    • newInstance

      public final Object newInstance(boolean doesRequireInit)
    • getAllFields

      public final List<Field> getAllFields(Class c, List<Field> res)
    • getFieldInfo

      public final FSTClazzInfo.FSTFieldInfo[] getFieldInfo()
    • getFieldInfoFiltered

      public final FSTClazzInfo.FSTFieldInfo[] getFieldInfoFiltered(Class... toRemove)
    • getFieldInfo

      public final FSTClazzInfo.FSTFieldInfo getFieldInfo(String name, Class declaringClass)
    • getStructSize

      public int getStructSize()
    • useCompatibleMode

      public boolean useCompatibleMode()
    • createFieldInfo

      protected FSTClazzInfo.FSTFieldInfo createFieldInfo(Field field)
    • getReadResolveMethod

      public final Method getReadResolveMethod()
    • getWriteReplaceMethod

      public final Method getWriteReplaceMethod()
    • getClazz

      public final Class getClazz()
    • getEnumConstants

      public Object[] getEnumConstants()
    • getCompInfo

      public FSTMap<Class,org.nustaq.serialization.FSTClazzInfo.FSTCompatibilityInfo> getCompInfo()
    • getSer

      public FSTObjectSerializer getSer()
      sideeffecting: if no ser is found, next lookup will return null immediate
      Returns:
    • getSerNoStore

      public FSTObjectSerializer getSerNoStore()