|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.db.CalloutManager
public class CalloutManager
Method Summary | |
---|---|
void |
addCallout(java.lang.String callout,
java.lang.String script)
Store the callout in cache and write it out to disk. |
java.lang.Object |
executeCallout(java.lang.String callout,
java.lang.Object... args)
Execute the specified callout. |
static CalloutManager |
instance()
|
void |
removeCallout(java.lang.String callout)
Remove the registered callout and delete the script on the disk. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CalloutManager instance()
public void addCallout(java.lang.String callout, java.lang.String script) throws java.io.IOException
callout
- the name of the calloutscript
- actual implementation of the callout
java.io.IOException
public void removeCallout(java.lang.String callout)
callout
- to be removedpublic java.lang.Object executeCallout(java.lang.String callout, java.lang.Object... args)
callout
- to be executed.args
- arguments to be passed to the callouts.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |