com.alibaba.druid.pool.ha
Interface MultiDataSourceMBean

All Known Subinterfaces:
HADataSourceMBean
All Known Implementing Classes:
CobarDataSource, HADataSource, MultiDataSource

public interface MultiDataSourceMBean


Method Summary
 void failureDetect()
           
 long getActiveCount()
           
 long getBusySkipCount()
           
 long getConfigLoadCount()
           
 long getConfigLoadPeriodMillis()
           
 String[] getDataSourceNames()
           
 long getFailureDetectCount()
           
 long getFailureDetectPeriodMillis()
           
 int getMaxPoolSize()
           
 long getRetryGetConnectionCount()
           
 boolean restartDataSource(String name)
           
 boolean startConfigLoadScheduleTask()
           
 boolean startFailureDetectScheduleTask()
           
 boolean stopConfigLoadScheduleTask()
           
 boolean stopFailureDetectScheduleTask()
           
 

Method Detail

failureDetect

void failureDetect()

getDataSourceNames

String[] getDataSourceNames()

restartDataSource

boolean restartDataSource(String name)

startFailureDetectScheduleTask

boolean startFailureDetectScheduleTask()

stopFailureDetectScheduleTask

boolean stopFailureDetectScheduleTask()

startConfigLoadScheduleTask

boolean startConfigLoadScheduleTask()

stopConfigLoadScheduleTask

boolean stopConfigLoadScheduleTask()

getConfigLoadCount

long getConfigLoadCount()

getFailureDetectCount

long getFailureDetectCount()

getRetryGetConnectionCount

long getRetryGetConnectionCount()

getBusySkipCount

long getBusySkipCount()

getFailureDetectPeriodMillis

long getFailureDetectPeriodMillis()

getConfigLoadPeriodMillis

long getConfigLoadPeriodMillis()

getActiveCount

long getActiveCount()

getMaxPoolSize

int getMaxPoolSize()


Copyright © 2012 Alibaba Group. All Rights Reserved.