use of apoc.result.KernelInfoResult in project neo4j-apoc-procedures by neo4j-contrib.
the class Kernel method kernel.
@Procedure
@Description("apoc.monitor.kernel() returns informations about the neo4j kernel")
public Stream<KernelInfoResult> kernel() {
ObjectName objectName = getObjectName(database, JMX_OBJECT_NAME);
KernelInfoResult info = new KernelInfoResult(getAttribute(objectName, READ_ONLY), getAttribute(objectName, KERNEL_VERSION), getAttribute(objectName, STORE_ID), getAttribute(objectName, START_TIME), getAttribute(objectName, DB_NAME), getAttribute(objectName, STORE_LOG_VERSION), getAttribute(objectName, STORE_CREATION_DATE));
return Stream.of(info);
}
Aggregations