Package | Description |
---|---|
com.hazelcast.com.eclipsesource.json | |
com.hazelcast.jet.core |
Jet's Core API.
|
com.hazelcast.monitor |
Contains Hazelcast statistics interfaces related to map, queue, topic, multimap, executor service etc.
|
com.hazelcast.util |
This package contains classes to support the inner workings of Hazelcast
as well as some backports of newer Java features / data structures to
support older Java versions in a clean and nice way.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObject.add(String name,
boolean value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified
boolean value. |
JsonObject |
JsonObject.add(String name,
double value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified
double value. |
JsonObject |
JsonObject.add(String name,
float value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified
float value. |
JsonObject |
JsonObject.add(String name,
int value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified
int value. |
JsonObject |
JsonObject.add(String name,
JsonValue value)
Appends a new member to the end of this object, with the specified name and the specified JSON
value.
|
JsonObject |
JsonObject.add(String name,
long value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified
long value. |
JsonObject |
JsonObject.add(String name,
String value)
Appends a new member to the end of this object, with the specified name and the JSON
representation of the specified string.
|
JsonObject |
JsonValue.asObject()
Returns this JSON value as
JsonObject , assuming that this value represents a JSON
object. |
JsonObject |
JsonObject.asObject() |
JsonObject |
JsonObject.merge(JsonObject object)
Copies all members of the specified object into this object.
|
static JsonObject |
Json.object()
Creates a new empty JsonObject.
|
static JsonObject |
JsonObject.readFrom(Reader reader)
Deprecated.
Use
Json.parse(Reader) .asObject() instead |
static JsonObject |
JsonObject.readFrom(String string)
Deprecated.
Use
Json.parse(String) .asObject() instead |
JsonObject |
JsonObject.remove(String name)
Removes a member with the specified name from this object.
|
JsonObject |
JsonObject.set(String name,
boolean value)
Sets the value of the member with the specified name to the JSON representation of the
specified
boolean value. |
JsonObject |
JsonObject.set(String name,
double value)
Sets the value of the member with the specified name to the JSON representation of the
specified
double value. |
JsonObject |
JsonObject.set(String name,
float value)
Sets the value of the member with the specified name to the JSON representation of the
specified
float value. |
JsonObject |
JsonObject.set(String name,
int value)
Sets the value of the member with the specified name to the JSON representation of the
specified
int value. |
JsonObject |
JsonObject.set(String name,
JsonValue value)
Sets the value of the member with the specified name to the specified JSON value.
|
JsonObject |
JsonObject.set(String name,
long value)
Sets the value of the member with the specified name to the JSON representation of the
specified
long value. |
JsonObject |
JsonObject.set(String name,
String value)
Sets the value of the member with the specified name to the JSON representation of the
specified string.
|
static JsonObject |
JsonObject.unmodifiableObject(JsonObject object)
Returns an unmodifiable JsonObject for the specified one.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
JsonObject.merge(JsonObject object)
Copies all members of the specified object into this object.
|
static JsonObject |
JsonObject.unmodifiableObject(JsonObject object)
Returns an unmodifiable JsonObject for the specified one.
|
Constructor and Description |
---|
JsonObject(JsonObject object)
Creates a new JsonObject, initialized with the contents of the specified JSON object.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
DAG.toJson(int defaultLocalParallelism)
Returns a JSON representation of the DAG.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
TimedMemberState.toJson() |
Modifier and Type | Method and Description |
---|---|
void |
TimedMemberState.fromJson(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
static JsonObject |
JsonUtil.getObject(JsonObject object,
String field)
Returns a field in a Json object as an object.
|
static JsonObject |
JsonUtil.getObject(JsonObject object,
String field,
JsonObject defaultValue)
Returns a field in a Json object as an object.
|
Modifier and Type | Method and Description |
---|---|
static JsonArray |
JsonUtil.getArray(JsonObject object,
String field)
Returns a field in a Json object as an array.
|
static JsonArray |
JsonUtil.getArray(JsonObject object,
String field,
JsonArray defaultValue)
Returns a field in a Json object as an array.
|
static boolean |
JsonUtil.getBoolean(JsonObject object,
String field)
Returns a field in a Json object as a boolean.
|
static boolean |
JsonUtil.getBoolean(JsonObject object,
String field,
boolean defaultValue)
Returns a field in a Json object as a boolean.
|
static double |
JsonUtil.getDouble(JsonObject object,
String field)
Returns a field in a Json object as a double.
|
static double |
JsonUtil.getDouble(JsonObject object,
String field,
double defaultValue)
Returns a field in a Json object as a double.
|
static float |
JsonUtil.getFloat(JsonObject object,
String field)
Returns a field in a Json object as a float.
|
static float |
JsonUtil.getFloat(JsonObject object,
String field,
float defaultValue)
Returns a field in a Json object as a float.
|
static int |
JsonUtil.getInt(JsonObject object,
String field)
Returns a field in a Json object as an int.
|
static int |
JsonUtil.getInt(JsonObject object,
String field,
int defaultValue)
Returns a field in a Json object as an int.
|
static long |
JsonUtil.getLong(JsonObject object,
String field)
Returns a field in a Json object as a long.
|
static long |
JsonUtil.getLong(JsonObject object,
String field,
long defaultValue)
Returns a field in a Json object as a long.
|
static JsonObject |
JsonUtil.getObject(JsonObject object,
String field)
Returns a field in a Json object as an object.
|
static JsonObject |
JsonUtil.getObject(JsonObject object,
String field,
JsonObject defaultValue)
Returns a field in a Json object as an object.
|
static String |
JsonUtil.getString(JsonObject object,
String field)
Returns a field in a Json object as a string.
|
static String |
JsonUtil.getString(JsonObject object,
String field,
String defaultValue)
Returns a field in a Json object as a string.
|
Copyright © 2018 Hazelcast, Inc.. All rights reserved.