com.continuent.tungsten.common.cluster.resource.notification
Class DataSourceNotification
java.lang.Object
com.continuent.tungsten.common.cluster.resource.notification.ClusterResourceNotification
com.continuent.tungsten.common.cluster.resource.notification.DataSourceNotification
- All Implemented Interfaces:
- java.io.Serializable
public class DataSourceNotification
- extends ClusterResourceNotification
- See Also:
- Serialized Form
| Fields inherited from class com.continuent.tungsten.common.cluster.resource.notification.ClusterResourceNotification |
CLUSTER_NAME, clusterName, MEMBER_NAME, memberName, NOTIFICATION_SOURCE, notificationSource, resource, RESOURCE_NAME, RESOURCE_PROPS, RESOURCE_STATE, RESOURCE_TYPE, resourceName, resourceProps, resourceState, resourceType, streamID, timeReceived, timeSent |
|
Constructor Summary |
DataSourceNotification(NotificationStreamID streamID,
java.lang.String source,
DataSource ds)
|
DataSourceNotification(NotificationStreamID streamID,
java.lang.String clusterName,
java.lang.String memberName,
java.lang.String resourceName,
ResourceState state,
java.lang.String source,
TungstenProperties resourceProps)
|
DataSourceNotification(java.lang.String clusterName,
java.lang.String memberName,
java.lang.String resourceName,
ResourceState state,
java.lang.String source,
TungstenProperties resourceProps)
|
| Methods inherited from class com.continuent.tungsten.common.cluster.resource.notification.ClusterResourceNotification |
getClusterName, getMemberName, getNotificationSource, getResource, getResourceName, getResourceProps, getResourceState, getResourceType, getSource, getState, getTimeReceived, getTimeSent, getTrackerCount, getType, incrementTracker, setClusterName, setMemberName, setNotificationSource, setResource, setResourceName, setResourceProps, setResourceState, setResourceType, setTimeReceived, setTimeSent, toProperties, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
role
protected DataSourceRole role
DataSourceNotification
public DataSourceNotification(java.lang.String clusterName,
java.lang.String memberName,
java.lang.String resourceName,
ResourceState state,
java.lang.String source,
TungstenProperties resourceProps)
DataSourceNotification
public DataSourceNotification(NotificationStreamID streamID,
java.lang.String clusterName,
java.lang.String memberName,
java.lang.String resourceName,
ResourceState state,
java.lang.String source,
TungstenProperties resourceProps)
DataSourceNotification
public DataSourceNotification(NotificationStreamID streamID,
java.lang.String source,
DataSource ds)
getDataSource
public DataSource getDataSource()
getRole
public DataSourceRole getRole()