Class ApiModuleOptions<O>

java.lang.Object
com.scaleoutsoftware.modules.hosting.ApiModuleOptions<O>
Type Parameters:
O - the SOSS object type.

public class ApiModuleOptions<O> extends Object
Options for a ApiModule -- create via ApiModuleOptionsBuilder.
  • Method Details

    • getSossObjectType

      public Type getSossObjectType()
      Retrieve the SOSS object type.
      Returns:
      the SOSS object type.
    • getSerializer

      public com.scaleout.client.caching.CacheSerializer<O> getSerializer()
      The serializer for this ModulePackage.
      Returns:
      the CacheSerializer.
    • getDeserializer

      public com.scaleout.client.caching.CacheDeserializer<O> getDeserializer()
      The deserializer for this ModulePackage.
      Returns:
      the CacheDeserializer.
    • isSossObjectJsonSerialized

      public boolean isSossObjectJsonSerialized()
      Specifies if this ApiModuleOptions object type is JSON serialized. SOSS objects that are JSON serialized are eligible for queries and widgets.
      Returns:
      true if the object is JSON serialized, false otherwise.