コード例 #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));
        }