public class SQLClock extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SQL |
Constructor and Description |
---|
SQLClock() |
public static final String DEFAULT_SQL
public String getName()
public void setName(String name)
name
- The name.public void start() throws SQLException
SQLException
public void stop() throws SQLException
SQLException
public Clock getClock()
public void setSql(String sql)
Property: sql
Description: The sql to provide time.
Required: No.
public void setConnection(Connection connection)
Property: connection
Description: The ConnectionType
to use.
Required: Yes.