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
-
Method Summary
Modifier and TypeMethodDescriptionstatic AllocatedHosts
fromJson
(byte[] json) static AllocatedHosts
fromSlime
(com.yahoo.slime.Inspector inspector) static byte[]
toJson
(AllocatedHosts allocatedHosts) static void
toSlime
(AllocatedHosts allocatedHosts, com.yahoo.slime.Cursor cursor)
-
Constructor Details
-
AllocatedHostsSerializer
public AllocatedHostsSerializer()
-
-
Method Details
-
toJson
- Throws:
IOException
-
toSlime
-
fromJson
-
fromSlime
-