org.globus.cog.karajan.stack
Interface StackFrame

All Known Implementing Classes:
DefaultStackFrame

public interface StackFrame


Method Summary
 void deleteVar(String name)
           
 boolean getBooleanVar(String name)
           
 int getIntVar(String name)
           
 Object getVar(String name)
           
 Object getVarAndDelete(String name)
           
 boolean hasBarrier()
           
 boolean isDefined(String varName)
           
 Iterator names()
           
 int postIncrementAtomic(String name)
           
 int preDecrementAtomic(String name)
           
 void rename(String oldName, String newName)
           
 void setBarrier(boolean barrier)
           
 void setBooleanVar(String name, boolean value)
           
 void setIntVar(String name, int value)
           
 void setVar(String name, Object value)
           
 

Method Detail

isDefined

public boolean isDefined(String varName)

getVar

public Object getVar(String name)

setVar

public void setVar(String name,
                   Object value)

rename

public void rename(String oldName,
                   String newName)

setIntVar

public void setIntVar(String name,
                      int value)

getIntVar

public int getIntVar(String name)
              throws VariableNotFoundException
Throws:
VariableNotFoundException

postIncrementAtomic

public int postIncrementAtomic(String name)
                        throws VariableNotFoundException
Throws:
VariableNotFoundException

setBooleanVar

public void setBooleanVar(String name,
                          boolean value)

getBooleanVar

public boolean getBooleanVar(String name)
                      throws VariableNotFoundException
Throws:
VariableNotFoundException

deleteVar

public void deleteVar(String name)

names

public Iterator names()

hasBarrier

public boolean hasBarrier()

setBarrier

public void setBarrier(boolean barrier)

getVarAndDelete

public Object getVarAndDelete(String name)

preDecrementAtomic

public int preDecrementAtomic(String name)
                       throws VariableNotFoundException
Throws:
VariableNotFoundException