org.mobicents.timers.cache
Class TimerTaskCacheData

java.lang.Object
  extended by org.mobicents.cache.CacheData
      extended by org.mobicents.cluster.cache.ClusteredCacheData
          extended by org.mobicents.timers.cache.TimerTaskCacheData

public class TimerTaskCacheData
extends ClusteredCacheData

Proxy object for timer task data management through JBoss Cache

Author:
martins

Constructor Summary
TimerTaskCacheData(org.jboss.cache.Fqn fqn, MobicentsCluster mobicentsCluster)
           
TimerTaskCacheData(Serializable taskID, org.jboss.cache.Fqn baseFqn, MobicentsCluster mobicentsCluster)
           
 
Method Summary
 TimerTaskData getTaskData()
          Retrieves the task data
static Serializable getTaskID(ClusteredCacheData clusteredCacheData)
          Retrieves the TimerTask id from the specified ClusteredCacheData.
 void setTaskData(TimerTaskData taskData)
          Sets the task data.
 
Methods inherited from class org.mobicents.cluster.cache.ClusteredCacheData
create, getClusterNodeAddress, getNode, setClusterNodeAddress
 
Methods inherited from class org.mobicents.cache.CacheData
exists, getMobicentsCache, getNodeFqn, isRemoved, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerTaskCacheData

public TimerTaskCacheData(Serializable taskID,
                          org.jboss.cache.Fqn baseFqn,
                          MobicentsCluster mobicentsCluster)

TimerTaskCacheData

public TimerTaskCacheData(org.jboss.cache.Fqn fqn,
                          MobicentsCluster mobicentsCluster)
Method Detail

setTaskData

public void setTaskData(TimerTaskData taskData)
Sets the task data.

Parameters:
taskData -

getTaskData

public TimerTaskData getTaskData()
Retrieves the task data

Returns:

getTaskID

public static Serializable getTaskID(ClusteredCacheData clusteredCacheData)
                              throws IllegalArgumentException
Retrieves the TimerTask id from the specified ClusteredCacheData.

Parameters:
clusteredCacheData -
Returns:
Throws:
IllegalArgumentException


Copyright © 2011. All Rights Reserved.