com.continuent.tungsten.common.cluster.resource.notification
Class DataSourceNotification

java.lang.Object
  extended by com.continuent.tungsten.common.cluster.resource.notification.ClusterResourceNotification
      extended by com.continuent.tungsten.common.cluster.resource.notification.DataSourceNotification
All Implemented Interfaces:
java.io.Serializable

public class DataSourceNotification
extends ClusterResourceNotification

See Also:
Serialized Form

Field Summary
protected  DataSourceRole role
           
 
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)
           
 
Method Summary
 DataSource getDataSource()
           
 DataSourceRole getRole()
           
 
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
 

Field Detail

role

protected DataSourceRole role
Constructor Detail

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)
Method Detail

getDataSource

public DataSource getDataSource()

getRole

public DataSourceRole getRole()