Package | Description |
---|---|
com.hazelcast.internal.json | |
com.hazelcast.internal.management |
Contains classes to provide data/operation interface for Management Center.
|
com.hazelcast.internal.management.dto |
These contain the DTO object to exchange information with the management center.
|
com.hazelcast.internal.management.events | |
com.hazelcast.internal.management.request |
Contains requests that made from Management Center.
|
com.hazelcast.monitor.impl |
Contains Hazelcast statistics implementations 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 |
ManagementCenterService.syncCallOnThis(Operation operation) |
JsonObject |
JsonSerializable.toJson()
Serializes state represented by this object into a
JsonObject . |
JsonObject |
TimedMemberState.toJson() |
Modifier and Type | Method and Description |
---|---|
void |
JsonSerializable.fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
void |
TimedMemberState.fromJson(JsonObject json) |
void |
ClientBwListConfigHandler.handleConfig(JsonObject configJson)
Parses client B/W list filtering configuration in JSON format and applies the configuration.
|
Modifier and Type | Method and Description |
---|---|
JsonObject |
SlowOperationInvocationDTO.toJson() |
JsonObject |
MXBeansDTO.toJson() |
JsonObject |
DiscoveryConfigDTO.toJson() |
JsonObject |
WanConsumerConfigDTO.toJson() |
JsonObject |
MapConfigDTO.toJson() |
JsonObject |
SlowOperationDTO.toJson() |
JsonObject |
PartitionServiceBeanDTO.toJson() |
JsonObject |
EventServiceDTO.toJson() |
JsonObject |
ConnectionManagerDTO.toJson() |
JsonObject |
ClientEndPointDTO.toJson() |
JsonObject |
AdvancedNetworkStatsDTO.toJson()
For serializing the stats before sending to Management Center.
|
JsonObject |
ClientBwListEntryDTO.toJson() |
JsonObject |
WanReplicationConfigDTO.toJson() |
JsonObject |
ManagedExecutorDTO.toJson() |
JsonObject |
ClusterHotRestartStatusDTO.toJson() |
JsonObject |
ClientBwListDTO.toJson() |
JsonObject |
WanSyncConfigDTO.toJson() |
JsonObject |
DiscoveryStrategyConfigDTO.toJson() |
JsonObject |
PermissionConfigDTO.toJson() |
JsonObject |
OperationServiceDTO.toJson() |
JsonObject |
AliasedDiscoveryConfigDTO.toJson() |
JsonObject |
ProxyServiceDTO.toJson() |
JsonObject |
WanPublisherConfigDTO.toJson() |
Modifier and Type | Method and Description |
---|---|
void |
SlowOperationInvocationDTO.fromJson(JsonObject json) |
void |
MXBeansDTO.fromJson(JsonObject json) |
void |
DiscoveryConfigDTO.fromJson(JsonObject json) |
void |
WanConsumerConfigDTO.fromJson(JsonObject json) |
void |
MapConfigDTO.fromJson(JsonObject json) |
void |
SlowOperationDTO.fromJson(JsonObject json) |
void |
PartitionServiceBeanDTO.fromJson(JsonObject json) |
void |
EventServiceDTO.fromJson(JsonObject json) |
void |
ConnectionManagerDTO.fromJson(JsonObject json) |
void |
ClientEndPointDTO.fromJson(JsonObject json) |
void |
AdvancedNetworkStatsDTO.fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
void |
ClientBwListEntryDTO.fromJson(JsonObject json) |
void |
WanReplicationConfigDTO.fromJson(JsonObject json) |
void |
ManagedExecutorDTO.fromJson(JsonObject json) |
void |
ClusterHotRestartStatusDTO.fromJson(JsonObject root) |
void |
ClientBwListDTO.fromJson(JsonObject json) |
void |
WanSyncConfigDTO.fromJson(JsonObject json) |
void |
DiscoveryStrategyConfigDTO.fromJson(JsonObject json) |
void |
PermissionConfigDTO.fromJson(JsonObject json) |
void |
OperationServiceDTO.fromJson(JsonObject json) |
void |
AliasedDiscoveryConfigDTO.fromJson(JsonObject json) |
void |
ProxyServiceDTO.fromJson(JsonObject json) |
void |
WanPublisherConfigDTO.fromJson(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
EventBatch.toJson() |
JsonObject |
WanSyncIgnoredEvent.toJson() |
JsonObject |
WanSyncProgressUpdateEvent.toJson() |
JsonObject |
WanConfigurationExtendedEvent.toJson() |
JsonObject |
WanConsistencyCheckIgnoredEvent.toJson() |
JsonObject |
WanMerkleSyncFinishedEvent.toJson() |
JsonObject |
Event.toJson()
Serialize the event as JSON, for sending to Management Center.
|
JsonObject |
WanConsistencyCheckFinishedEvent.toJson() |
JsonObject |
AddWanConfigIgnoredEvent.toJson() |
JsonObject |
EventMetadata.toJson() |
JsonObject |
WanConfigurationAddedEvent.toJson() |
Modifier and Type | Method and Description |
---|---|
JsonObject |
UpdatePermissionConfigRequest.toJson() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterPropsRequest.fromJson(JsonObject json) |
void |
GetMemberSystemPropertiesRequest.fromJson(JsonObject json) |
void |
ClearWanQueuesRequest.fromJson(JsonObject json) |
void |
GetMapEntryRequest.fromJson(JsonObject json) |
void |
ConsoleRequest.fromJson(JsonObject json) |
void |
ThreadDumpRequest.fromJson(JsonObject json) |
void |
ConsoleCommandRequest.fromJson(JsonObject json) |
void |
ChangeClusterStateRequest.fromJson(JsonObject json) |
void |
ShutdownClusterRequest.fromJson(JsonObject json) |
void |
WanCheckConsistencyRequest.fromJson(JsonObject json) |
void |
MemberConfigRequest.fromJson(JsonObject json) |
void |
UpdatePermissionConfigRequest.fromJson(JsonObject json) |
void |
GetClusterStateRequest.fromJson(JsonObject json) |
void |
GetCacheEntryRequest.fromJson(JsonObject json) |
void |
MapConfigRequest.fromJson(JsonObject json) |
void |
ChangeWanStateRequest.fromJson(JsonObject json) |
void |
ExecuteScriptRequest.fromJson(JsonObject json) |
void |
RunGcRequest.fromJson(JsonObject json) |
void |
PromoteMemberRequest.fromJson(JsonObject json) |
void |
ForceStartNodeRequest.fromJson(JsonObject json) |
void |
TriggerPartialStartRequest.fromJson(JsonObject json) |
void |
ClusterPropsRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
GetMemberSystemPropertiesRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
ClearWanQueuesRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
GetMapEntryRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
ConsoleRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
ThreadDumpRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
ConsoleCommandRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
ChangeClusterStateRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
ShutdownClusterRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
WanCheckConsistencyRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
MemberConfigRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
GetClusterStateRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
GetCacheEntryRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
MapConfigRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
ChangeWanStateRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
ExecuteScriptRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
RunGcRequest.writeResponse(ManagementCenterService mcs,
JsonObject root) |
void |
PromoteMemberRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
ForceStartNodeRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
void |
TriggerPartialStartRequest.writeResponse(ManagementCenterService mcs,
JsonObject out) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
LocalReplicatedMapStatsImpl.toJson() |
JsonObject |
LocalCacheStatsImpl.toJson() |
JsonObject |
LocalWanStatsImpl.toJson() |
JsonObject |
NearCacheStatsImpl.toJson() |
JsonObject |
LocalPNCounterStatsImpl.toJson() |
JsonObject |
MemberPartitionStateImpl.toJson() |
JsonObject |
LocalOperationStatsImpl.toJson() |
JsonObject |
LocalMemoryStatsImpl.toJson() |
JsonObject |
LocalFlakeIdGeneratorStatsImpl.toJson() |
JsonObject |
LocalWanPublisherStatsImpl.toJson() |
JsonObject |
LocalMapStatsImpl.toJson() |
JsonObject |
MemberStateImpl.toJson() |
JsonObject |
WanSyncStateImpl.toJson() |
JsonObject |
HotRestartStateImpl.toJson() |
JsonObject |
LocalQueueStatsImpl.toJson() |
JsonObject |
LocalTopicStatsImpl.toJson() |
JsonObject |
LocalIndexStatsImpl.toJson() |
JsonObject |
LocalExecutorStatsImpl.toJson() |
JsonObject |
LocalGCStatsImpl.toJson() |
JsonObject |
NodeStateImpl.toJson() |
Modifier and Type | Method and Description |
---|---|
void |
LocalReplicatedMapStatsImpl.fromJson(JsonObject json) |
void |
LocalCacheStatsImpl.fromJson(JsonObject json) |
void |
LocalWanStatsImpl.fromJson(JsonObject json) |
void |
NearCacheStatsImpl.fromJson(JsonObject json) |
void |
LocalPNCounterStatsImpl.fromJson(JsonObject json) |
void |
MemberPartitionStateImpl.fromJson(JsonObject json) |
void |
LocalOperationStatsImpl.fromJson(JsonObject json) |
void |
LocalMemoryStatsImpl.fromJson(JsonObject json) |
void |
LocalFlakeIdGeneratorStatsImpl.fromJson(JsonObject json) |
void |
LocalWanPublisherStatsImpl.fromJson(JsonObject json) |
void |
LocalMapStatsImpl.fromJson(JsonObject json) |
void |
MemberStateImpl.fromJson(JsonObject json) |
void |
WanSyncStateImpl.fromJson(JsonObject json) |
void |
HotRestartStateImpl.fromJson(JsonObject json) |
void |
LocalQueueStatsImpl.fromJson(JsonObject json) |
void |
LocalTopicStatsImpl.fromJson(JsonObject json) |
void |
LocalIndexStatsImpl.fromJson(JsonObject json) |
void |
LocalExecutorStatsImpl.fromJson(JsonObject json) |
void |
LocalGCStatsImpl.fromJson(JsonObject json) |
void |
NodeStateImpl.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.
|
static JsonObject |
JsonUtil.toJsonObject(Map<String,?> map)
Transforms the provided map of name/value pairs into a
JsonObject . |
Modifier and Type | Method and Description |
---|---|
static Map<String,Comparable> |
JsonUtil.fromJsonObject(JsonObject object)
Transforms the provided
JsonObject int a map of name/value pairs. |
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 © 2020 Hazelcast, Inc.. All Rights Reserved.