com.alibaba.otter.common.push.datasource.media
类 MediaPushDataSource
java.lang.Object
com.alibaba.otter.common.push.datasource.media.MediaPushDataSource
- 所有已实现的接口:
- Wrapper, CommonDataSource, DataSource
public class MediaPushDataSource
- extends Object
- implements DataSource
media datasource support
- 版本:
- 4.1.8
- 作者:
- jianghang 2013-4-18 下午03:45:44
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MediaPushDataSource
public MediaPushDataSource(String originalUrl,
String userName,
String password,
String driverClassName,
DataMediaType dataMediaType,
String encoding)
init
public void init()
doCreateDataSource
protected DataSource doCreateDataSource(String url)
destory
public void destory()
throws SQLException
- 抛出:
SQLException
getLogWriter
public PrintWriter getLogWriter()
throws SQLException
- 指定者:
- 接口
CommonDataSource 中的 getLogWriter
- 抛出:
SQLException
setLogWriter
public void setLogWriter(PrintWriter out)
throws SQLException
- 指定者:
- 接口
CommonDataSource 中的 setLogWriter
- 抛出:
SQLException
setLoginTimeout
public void setLoginTimeout(int seconds)
throws SQLException
- 指定者:
- 接口
CommonDataSource 中的 setLoginTimeout
- 抛出:
SQLException
getLoginTimeout
public int getLoginTimeout()
throws SQLException
- 指定者:
- 接口
CommonDataSource 中的 getLoginTimeout
- 抛出:
SQLException
unwrap
public <T> T unwrap(Class<T> iface)
throws SQLException
- 指定者:
- 接口
Wrapper 中的 unwrap
- 抛出:
SQLException
isWrapperFor
public boolean isWrapperFor(Class<?> iface)
throws SQLException
- 指定者:
- 接口
Wrapper 中的 isWrapperFor
- 抛出:
SQLException
getConnection
public Connection getConnection()
throws SQLException
- 指定者:
- 接口
DataSource 中的 getConnection
- 抛出:
SQLException
getConnection
public Connection getConnection(String username,
String password)
throws SQLException
- 指定者:
- 接口
DataSource 中的 getConnection
- 抛出:
SQLException
getParentLogger
public Logger getParentLogger()
throws SQLFeatureNotSupportedException
- 抛出:
SQLFeatureNotSupportedException
getDelegate
public DataSource getDelegate()
getDbGroupKey
public String getDbGroupKey()
getMaxWait
public int getMaxWait()
getMinIdle
public int getMinIdle()
getInitialSize
public int getInitialSize()
getMaxActive
public int getMaxActive()
getMaxIdle
public int getMaxIdle()
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun()
getTimeBetweenEvictionRunsMillis
public int getTimeBetweenEvictionRunsMillis()
getRemoveAbandonedTimeout
public int getRemoveAbandonedTimeout()
getMinEvictableIdleTimeMillis
public int getMinEvictableIdleTimeMillis()
getOriginalUrl
public String getOriginalUrl()
getUserName
public String getUserName()
getPassword
public String getPassword()
getDriverClassName
public String getDriverClassName()
getDataMediaType
public DataMediaType getDataMediaType()
getEncoding
public String getEncoding()
setDelegate
public void setDelegate(DataSource delegate)
setDbGroupKey
public void setDbGroupKey(String dbGroupKey)
setMaxWait
public void setMaxWait(int maxWait)
setMinIdle
public void setMinIdle(int minIdle)
setInitialSize
public void setInitialSize(int initialSize)
setMaxActive
public void setMaxActive(int maxActive)
setMaxIdle
public void setMaxIdle(int maxIdle)
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun)
setTimeBetweenEvictionRunsMillis
public void setTimeBetweenEvictionRunsMillis(int timeBetweenEvictionRunsMillis)
setRemoveAbandonedTimeout
public void setRemoveAbandonedTimeout(int removeAbandonedTimeout)
setMinEvictableIdleTimeMillis
public void setMinEvictableIdleTimeMillis(int minEvictableIdleTimeMillis)
setOriginalUrl
public void setOriginalUrl(String originalUrl)
setUserName
public void setUserName(String userName)
setPassword
public void setPassword(String password)
setDriverClassName
public void setDriverClassName(String driverClassName)
setDataMediaType
public void setDataMediaType(DataMediaType dataMediaType)
setEncoding
public void setEncoding(String encoding)
Copyright © 2011–2014 alibaba. All rights reserved.