com.atlassian.jira.database
Class DefaultDatabaseSystemTimeReaderFactory

java.lang.Object
  extended by com.atlassian.jira.database.DefaultDatabaseSystemTimeReaderFactory
All Implemented Interfaces:
DatabaseSystemTimeReaderFactory

public class DefaultDatabaseSystemTimeReaderFactory
extends Object
implements DatabaseSystemTimeReaderFactory

Default database system time reader factory implementation that creates an appropriate database system time reader based on the database type read from the currently active connection factory.

Since:
6.3.4

Constructor Summary
DefaultDatabaseSystemTimeReaderFactory()
           
 
Method Summary
 DatabaseSystemTimeReader getReader()
          Chooses a database system time reader for the current database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDatabaseSystemTimeReaderFactory

public DefaultDatabaseSystemTimeReaderFactory()
Method Detail

getReader

@Nonnull
public DatabaseSystemTimeReader getReader()
Description copied from interface: DatabaseSystemTimeReaderFactory
Chooses a database system time reader for the current database.

Specified by:
getReader in interface DatabaseSystemTimeReaderFactory
Returns:
a database system time reader.


Copyright © 2002-2014 Atlassian. All Rights Reserved.