| org.griphyn.vdl.dbschema.PTC
All known Subclasses: org.griphyn.vdl.dbschema.InvocationSchema, org.griphyn.vdl.dbschema.NXDInvSchema,
PTC | public interface PTC extends Catalog(Code) | | This interface defines a common base for all database schemas that
supports the handling of the provenance tracking catalog. It exists
primarily for grouping purposes.
For the moment, we are happy to be able to store things inside. The
rest, in form of more required methods, comes later.
author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 83 $ |
Field Summary | |
final public static String | PROPERTY_PREFIX Names the property key prefix employed for schemas dealing with the PTC. |
Method Summary | |
public long | getInvocationID(Date start, InetAddress host, int pid) Checks the existence of an invocation record in the database.
The information is based on the (start,host,pid) tuple, although
with private networks, cases may arise that have this tuple
identical, yet are different.
Parameters: start - is the start time of the grid launcher Parameters: host - is the address of the host it ran upon Parameters: pid - is the process id of the grid launcher itself. | public boolean | saveInvocation(InvocationRecord ivr) Inserts an invocation record into the database.
Parameters: ivr - is the invocation record to store. |
PROPERTY_PREFIX | final public static String PROPERTY_PREFIX(Code) | | Names the property key prefix employed for schemas dealing with the PTC.
|
getInvocationID | public long getInvocationID(Date start, InetAddress host, int pid) throws SQLException(Code) | | Checks the existence of an invocation record in the database.
The information is based on the (start,host,pid) tuple, although
with private networks, cases may arise that have this tuple
identical, yet are different.
Parameters: start - is the start time of the grid launcher Parameters: host - is the address of the host it ran upon Parameters: pid - is the process id of the grid launcher itself. the id of the existing record, or -1 |
saveInvocation | public boolean saveInvocation(InvocationRecord ivr) throws SQLException(Code) | | Inserts an invocation record into the database.
Parameters: ivr - is the invocation record to store. true, if insertion was successful, false otherwise. |
|
|