Interface BinaryFieldStorerCreator<T>

  • Type Parameters:
    T - type
    All Known Implementing Classes:
    BinaryFieldStorerThrowableStackTraceCreator

    public interface BinaryFieldStorerCreator<T>
    BinaryFieldStorerCreator implementations are responsible to create BinaryFieldStorer for a specific field of a class. The should provide implementations for lazy/eager storing and consider the required byte order.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      BinaryFieldStorer<?> create​(boolean isEager, boolean switchByteOrder)
      Create a BinaryFieldStorer thats applicable for the specified byte order and lazy or eager storing behavior.
      Field getField()
      Get the Field that is handled by this BinaryFieldStorerCreator
    • Method Detail

      • getField

        Field getField()
        Get the Field that is handled by this BinaryFieldStorerCreator
        Returns:
        the handled field.
      • create

        BinaryFieldStorer<?> create​(boolean isEager,
                                    boolean switchByteOrder)
        Create a BinaryFieldStorer thats applicable for the specified byte order and lazy or eager storing behavior.
        Parameters:
        isEager - true if eager storing behavior.
        switchByteOrder - true if byte order switch.
        Returns:
        a new BinaryFieldStorer.