Class AllocatedHostsSerializer
java.lang.Object
com.yahoo.config.provision.serialization.AllocatedHostsSerializer
The hosts allocated to an application.
This can be serialized to/from JSON.
This is immutable.
- Author:
- Ulf Lilleengen, bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AllocatedHostsfromJson(byte[] json) static AllocatedHostsfromSlime(com.yahoo.slime.Inspector inspector) static byte[]toJson(AllocatedHosts allocatedHosts) static voidtoSlime(AllocatedHosts allocatedHosts, com.yahoo.slime.Cursor cursor)
-
Constructor Details
-
AllocatedHostsSerializer
public AllocatedHostsSerializer()
-
-
Method Details
-
toJson
- Throws:
IOException
-
toSlime
-
fromJson
-
fromSlime
-