예제 #1
0
            internal CausalClusteringBeanImpl(ManagementData management, bool isMXBean) : base(management, isMXBean)
            {
                ClusterStateDirectory = management.ResolveDependency(typeof(ClusterStateDirectory));
                RaftMachine           = management.ResolveDependency(typeof(RaftMachine));

                Fs = management.KernelData.FilesystemAbstraction;
            }
예제 #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: TransactionManagerImpl(org.neo4j.jmx.impl.ManagementData management) throws javax.management.NotCompliantMBeanException
            internal TransactionManagerImpl(ManagementData management) : base(management)
            {
                this.TxMonitor         = management.ResolveDependency(typeof(DatabaseTransactionStats));
                this.DataSourceManager = management.ResolveDependency(typeof(DataSourceManager));
            }
예제 #3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: PageCacheImpl(org.neo4j.jmx.impl.ManagementData management) throws javax.management.NotCompliantMBeanException
            internal PageCacheImpl(ManagementData management) : base(management)
            {
                this.PageCacheCounters = management.ResolveDependency(typeof(PageCacheCounters));
            }
예제 #4
0
        private static bool IsCausalClustering(ManagementData management)
        {
            DatabaseInfo databaseInfo = management.ResolveDependency(typeof(DatabaseInfo));

            return(_clusteringModes.contains(databaseInfo.OperationalMode));
        }