use of apoc.result.StoreInfoResult in project neo4j-apoc-procedures by neo4j-contrib.
the class Store method store.
@Procedure
@Description("apoc.monitor.store() returns informations about the sizes of the different parts of the neo4j graph store")
public Stream<StoreInfoResult> store() {
ObjectName objectName = getObjectName(db, JMX_OBJECT_NAME);
StoreInfoResult storeInfo = new StoreInfoResult(getAttribute(objectName, LOG_SIZE), getAttribute(objectName, STRING_SIZE), getAttribute(objectName, ARRAY_SIZE), getAttribute(objectName, REL_SIZE), getAttribute(objectName, PROP_SIZE), getAttribute(objectName, TOTAL_SIZE), getAttribute(objectName, NODE_SIZE));
return Stream.of(storeInfo);
}
Aggregations