Class ApiModuleOptions<O>
java.lang.Object
com.scaleoutsoftware.modules.hosting.ApiModuleOptions<O>
- Type Parameters:
O- the SOSS object type.
Options for a ApiModule -- create via
ApiModuleOptionsBuilder.-
Method Summary
Modifier and TypeMethodDescriptioncom.scaleout.client.caching.CacheDeserializer<O> The deserializer for thisModulePackage.com.scaleout.client.caching.CacheSerializer<O> The serializer for thisModulePackage.Retrieve the SOSS object type.booleanSpecifies if thisApiModuleOptionsobject type is JSON serialized.
-
Method Details
-
getSossObjectType
Retrieve the SOSS object type.- Returns:
- the SOSS object type.
-
getSerializer
The serializer for thisModulePackage.- Returns:
- the
CacheSerializer.
-
getDeserializer
The deserializer for thisModulePackage.- Returns:
- the
CacheDeserializer.
-
isSossObjectJsonSerialized
public boolean isSossObjectJsonSerialized()Specifies if thisApiModuleOptionsobject 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.
-