26.4. Reference of supported JMX MBeans

MBeans exposed by Neo4j

NameDescription

Branched Store

Information about the branched stores present in this HA cluster member

Cache/NodeCache

Information about the caching in Neo4j

Cache/RelationshipCache

Information about the caching in Neo4j

Configuration

The configuration parameters used to configure Neo4j

Diagnostics

Diagnostics provided by Neo4j

High Availability

Information about an instance participating in a HA cluster

Kernel

Information about the Neo4j kernel

Locking

Information about the Neo4j lock status

Memory Mapping

The status of Neo4j memory mapping

Primitive count

Estimates of the numbers of different kinds of Neo4j primitives

Store file sizes

Information about the sizes of the different parts of the Neo4j graph store

Transactions

Information about the Neo4j transaction manager

XA Resources

Information about the XA transaction manager

[Note]Note

For additional information on the primitive datatypes (int, long etc.) used in the JMX attributes, please see Property value types in Section 3.3, “Properties”.

MBean Branched Store (org.neo4j.management.BranchedStore) Attributes

NameDescriptionTypeReadWrite

Information about the branched stores present in this HA cluster member

BranchedStores

A list of the branched stores

org.neo4j.management.BranchedStoreInfo[] as CompositeData[]

yes

no

MBean Cache/NodeCache (org.neo4j.management.Cache) Attributes

NameDescriptionTypeReadWrite

Information about the caching in Neo4j

CacheSize

The size of this cache (nr of entities or total size in bytes)

long

yes

no

CacheType

The type of cache used by Neo4j

String

yes

no

HitCount

The number of times a cache query returned a result

long

yes

no

MissCount

The number of times a cache query did not return a result

long

yes

no

MBean Cache/NodeCache (org.neo4j.management.Cache) Operations

NameDescriptionReturnTypeSignature

clear

Clears the Neo4j caches

void

(no parameters)

MBean Cache/RelationshipCache (org.neo4j.management.Cache) Attributes

NameDescriptionTypeReadWrite

Information about the caching in Neo4j

CacheSize

The size of this cache (nr of entities or total size in bytes)

long

yes

no

CacheType

The type of cache used by Neo4j

String

yes

no

HitCount

The number of times a cache query returned a result

long

yes

no

MissCount

The number of times a cache query did not return a result

long

yes

no

MBean Cache/RelationshipCache (org.neo4j.management.Cache) Operations

NameDescriptionReturnTypeSignature

clear

Clears the Neo4j caches

void

(no parameters)

MBean Configuration (org.neo4j.jmx.impl.ConfigurationBean) Attributes

NameDescriptionTypeReadWrite

The configuration parameters used to configure Neo4j

cache.memory_ratio

Set the amount of usable memory to allocate to the high-level object cache, a value between 0 and 100. It is recommended to not have this value exceed 70. This cannot be used in conjunction with other object cache size settings.

String

yes

no

ephemeral

Configuration attribute

String

yes

no

ha.initial_hosts

Configuration attribute

String

yes

no

ha.server_id

Configuration attribute

String

yes

no

jmx.port

Configuration attribute

String

yes

no

neostore.nodestore.db.mapped_memory

Configuration attribute

String

yes

no

neostore.propertystore.db.arrays.mapped_memory

Configuration attribute

String

yes

no

neostore.propertystore.db.mapped_memory

Configuration attribute

String

yes

no

neostore.propertystore.db.strings.mapped_memory

Configuration attribute

String

yes

no

neostore.relationshipgroupstore.db.mapped_memory

Configuration attribute

String

yes

no

neostore.relationshipstore.db.mapped_memory

Configuration attribute

String

yes

no

online_backup_enabled

Enable support for running online backups

String

yes

no

online_backup_server

Listening server for online backups

String

yes

no

remote_shell_enabled

Enable a remote shell server which shell clients can log in to

String

yes

no

store_dir

Configuration attribute

String

yes

no

MBean Configuration (org.neo4j.jmx.impl.ConfigurationBean) Operations

NameDescriptionReturnTypeSignature

apply

Apply settings

void

(no parameters)

MBean Diagnostics (org.neo4j.management.Diagnostics) Attributes

NameDescriptionTypeReadWrite

Diagnostics provided by Neo4j

DiagnosticsProviders

A list of the ids for the registered diagnostics providers.

List (java.util.List)

yes

no

MBean Diagnostics (org.neo4j.management.Diagnostics) Operations

NameDescriptionReturnTypeSignature

dumpAll

Dump diagnostics information to JMX

String

(no parameters)

dumpToLog

Dump diagnostics information to the log.

void

(no parameters)

dumpToLog

Dump diagnostics information to the log.

void

java.lang.String

extract

Operation exposed for management

String

java.lang.String

MBean High Availability (org.neo4j.management.HighAvailability) Attributes

NameDescriptionTypeReadWrite

Information about an instance participating in a HA cluster

Alive

Whether this instance is alive or not

boolean

yes

no

Available

Whether this instance is available or not

boolean

yes

no

InstanceId

The identifier used to identify this server in the HA cluster

String

yes

no

InstancesInCluster

Information about all instances in this cluster

org.neo4j.management.ClusterMemberInfo[] as CompositeData[]

yes

no

LastCommittedTxId

The latest transaction id present in this instance’s store

long

yes

no

LastUpdateTime

The time when the data on this instance was last updated from the master

String

yes

no

Role

The role this instance has in the cluster

String

yes

no

MBean High Availability (org.neo4j.management.HighAvailability) Operations

NameDescriptionReturnTypeSignature

update

(If this is a slave) Update the database on this instance with the latest transactions from the master

String

(no parameters)

MBean Kernel (org.neo4j.jmx.Kernel) Attributes

NameDescriptionTypeReadWrite

Information about the Neo4j kernel

KernelStartTime

The time from which this Neo4j instance was in operational mode.

Date (java.util.Date)

yes

no

KernelVersion

The version of Neo4j

String

yes

no

MBeanQuery

An ObjectName that can be used as a query for getting all management beans for this Neo4j instance.

javax.management.ObjectName

yes

no

ReadOnly

Whether this is a read only instance

boolean

yes

no

StoreCreationDate

The time when this Neo4j graph store was created.

Date (java.util.Date)

yes

no

StoreDirectory

The location where the Neo4j store is located

String

yes

no

StoreId

An identifier that, together with store creation time, uniquely identifies this Neo4j graph store.

String

yes

no

StoreLogVersion

The current version of the Neo4j store logical log.

long

yes

no

MBean Locking (org.neo4j.management.LockManager) Attributes

NameDescriptionTypeReadWrite

Information about the Neo4j lock status

Locks

Information about all locks held by Neo4j

java.util.List<org.neo4j.kernel.info.LockInfo> as CompositeData[]

yes

no

NumberOfAvertedDeadlocks

The number of lock sequences that would have lead to a deadlock situation that Neo4j has detected and averted (by throwing DeadlockDetectedException).

long

yes

no

MBean Locking (org.neo4j.management.LockManager) Operations

NameDescriptionReturnTypeSignature

getContendedLocks

getContendedLocks

java.util.List<org.neo4j.kernel.info.LockInfo> as CompositeData[]

long

MBean Memory Mapping (org.neo4j.management.MemoryMapping) Attributes

NameDescriptionTypeReadWrite

The status of Neo4j memory mapping

MemoryPools

Get information about each pool of memory mapped regions from store files with memory mapping enabled

org.neo4j.management.WindowPoolInfo[] as CompositeData[]

yes

no

MBean Primitive count (org.neo4j.jmx.Primitives) Attributes

NameDescriptionTypeReadWrite

Estimates of the numbers of different kinds of Neo4j primitives

NumberOfNodeIdsInUse

An estimation of the number of nodes used in this Neo4j instance

long

yes

no

NumberOfPropertyIdsInUse

An estimation of the number of properties used in this Neo4j instance

long

yes

no

NumberOfRelationshipIdsInUse

An estimation of the number of relationships used in this Neo4j instance

long

yes

no

NumberOfRelationshipTypeIdsInUse

The number of relationship types used in this Neo4j instance

long

yes

no

MBean Store file sizes (org.neo4j.jmx.StoreFile) Attributes

NameDescriptionTypeReadWrite

Information about the sizes of the different parts of the Neo4j graph store

ArrayStoreSize

The amount of disk space used to store array properties, in bytes.

long

yes

no

LogicalLogSize

The amount of disk space used by the current Neo4j logical log, in bytes.

long

yes

no

NodeStoreSize

The amount of disk space used to store nodes, in bytes.

long

yes

no

PropertyStoreSize

The amount of disk space used to store properties (excluding string values and array values), in bytes.

long

yes

no

RelationshipStoreSize

The amount of disk space used to store relationships, in bytes.

long

yes

no

StringStoreSize

The amount of disk space used to store string properties, in bytes.

long

yes

no

TotalStoreSize

The total disk space used by this Neo4j instance, in bytes.

long

yes

no

MBean Transactions (org.neo4j.management.TransactionManager) Attributes

NameDescriptionTypeReadWrite

Information about the Neo4j transaction manager

LastCommittedTxId

The id of the latest committed transaction

long

yes

no

NumberOfCommittedTransactions

The total number of committed transactions

long

yes

no

NumberOfOpenedTransactions

The total number started transactions

int

yes

no

NumberOfOpenTransactions

The number of currently open transactions

int

yes

no

NumberOfRolledBackTransactions

The total number of rolled back transactions

long

yes

no

PeakNumberOfConcurrentTransactions

The highest number of transactions ever opened concurrently

int

yes

no

MBean XA Resources (org.neo4j.management.XaManager) Attributes

NameDescriptionTypeReadWrite

Information about the XA transaction manager

XaResources

Information about all XA resources managed by the transaction manager

org.neo4j.management.XaResourceInfo[] as CompositeData[]

yes

no