@Test public void testDirectBufferPreferred() { assertEquals(PlatformDependent.directBufferPreferred(), ThriftSerializer.directBufferPreferred()); assertTrue(ThriftSerializer.directBufferPreferred()); }
public static boolean directBufferPreferred() { return DIRECT_BUFFER_PREFERRED; }
ThriftSerializer implements Serializer.SerializerInterface { public static boolean directBufferPreferred() { return DIRECT_BUFFER_PREFERRED; } }
ThriftSerializer implements Serializer.SerializerInterface { public static boolean directBufferPreferred() { return DIRECT_BUFFER_PREFERRED; }  }
ThriftSerializer implements Serializer.SerializerInterface { public static boolean directBufferPreferred() { return DIRECT_BUFFER_PREFERRED; }  static boolean directBufferPreferred(); @Override @NotNull String decodeEndpoint(@NotNull ByteBuf arg1); @Override @NotNull Map<String, String> decodeHeaders(@NotNull ByteBuf arg2); @Override @Nullable T decodeBody(@NotNull ByteBuf arg3, @NotNull Class<T> bodyType); @Override ByteBuf encodeEndpoint(@NotNull String method); @Override ByteBuf encodeHeaders(@NotNull Map<String, String> applicationHeaders); @Override @Nullable ByteBuf encodeBody(@NotNull Object body); }
ThriftSerializer implements Serializer.SerializerInterface { public static boolean directBufferPreferred() { return DIRECT_BUFFER_PREFERRED; }  static boolean directBufferPreferred(); @Override @NotNull String decodeEndpoint(@NotNull ByteBuf arg1); @Override @NotNull Map<String, String> decodeHeaders(@NotNull ByteBuf arg2); @Override @Nullable T decodeBody(@NotNull ByteBuf arg3, @NotNull Class<T> bodyType); @Override ByteBuf encodeEndpoint(@NotNull String method); @Override ByteBuf encodeHeaders(@NotNull Map<String, String> applicationHeaders); @Override @Nullable ByteBuf encodeBody(@NotNull Object body);  }