|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.AbstractInvocable
com.tangosol.coherence.weblogic.PortalCacheProvider.FlushAgent
public static class PortalCacheProvider.FlushAgent
Invocable implementation that is used to flush a Cache instance located on one or more remote cluster nodes.
| Field Summary | |
|---|---|
protected java.lang.Object |
m_oKeyThe optional key to flush. |
protected java.lang.String |
m_sNameThe name of the Cache to flush. |
protected java.lang.String |
m_sScopeIdThe scope identifier of the CacheProvider that created this FlushAgent. |
| Fields inherited from interface com.tangosol.net.PriorityTask |
|---|
SCHEDULE_FIRST, SCHEDULE_IMMEDIATE, SCHEDULE_STANDARD, TIMEOUT_DEFAULT, TIMEOUT_NONE |
| Constructor Summary | |
|---|---|
|
PortalCacheProvider.FlushAgent()Default constructor necessary for ExternalizableLite support. |
protected |
PortalCacheProvider.FlushAgent(java.lang.String sName, java.lang.Object oKey, java.lang.String sScopeId)Create a new FlushAgent that can be used to flush the Cache with the given name. |
| Method Summary | |
|---|---|
protected java.lang.String |
getCacheName()Return the name of the Cache to flush. |
protected java.lang.String |
getDescription()Return a string representation of this EntryInfo's attributes. |
protected java.lang.Object |
getKey()Return the optional key to flush. |
protected java.lang.Object |
getScopeIdentifier()Return the scope identifier of the CacheProvider that created this FlushAgent. |
void |
init(InvocationService service)Called by the InvocationService exactly once on this Invocable object as part of its initialization. |
void |
readExternal(java.io.DataInput in)Restore the contents of this object by loading the object's state from the passed DataInput object. |
void |
run()Called exactly once by the InvocationService to invoke this Invocable object. |
java.lang.String |
toString()Return a human readable description of this FlushAgent object. |
void |
writeExternal(java.io.DataOutput out)Save the contents of this object by storing the object's state into the passed DataOutput object. |
| Methods inherited from class com.tangosol.net.AbstractInvocable |
|---|
getExecutionTimeoutMillis, getRequestTimeoutMillis, getResult, getSchedulingPriority, getService, isRespondInOrder, runCanceled, setResult |
| Field Detail |
|---|
protected java.lang.String m_sName
protected java.lang.Object m_oKey
protected java.lang.String m_sScopeId
| Constructor Detail |
|---|
public PortalCacheProvider.FlushAgent()
protected PortalCacheProvider.FlushAgent(java.lang.String sName,
java.lang.Object oKey,
java.lang.String sScopeId)
sName - the name of the Cache to flush; must not be nulloKey - an optional key; if non-null, only the Cache entry with the given key will be flushedsScopeId - the scope identifier of the CacheProvider that is creating this FlushAgent| Method Detail |
|---|
public void init(InvocationService service)
init in interface Invocableinit in class AbstractInvocableservice - the containing InvocationServicepublic void run()
run in interface Invocablerun in interface java.lang.RunnableThread.run()
public void readExternal(java.io.DataInput in)
throws java.io.IOException
readExternal in interface ExternalizableLitein - the DataInput stream to read data from in order to restore the state of this objectjava.io.IOException - if an I/O exception occursjava.io.NotActiveException - if the object is not in its initial state, and therefore cannot be deserialized into
public void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in interface ExternalizableLiteout - the DataOutput stream to write the state of this object tojava.io.IOException - if an I/O exception occurspublic java.lang.String toString()
protected java.lang.String getDescription()
protected java.lang.String getCacheName()
protected java.lang.Object getKey()
protected java.lang.Object getScopeIdentifier()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||