Class JDBCSessionDataStore.SessionTableSchema

  • Enclosing class:
    JDBCSessionDataStore

    @Deprecated(since="2021-05-27")
    public static class JDBCSessionDataStore.SessionTableSchema
    extends java.lang.Object
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    SessionTableSchema
    • Field Detail

      • MAX_INTERVAL_NOT_SET

        public static final int MAX_INTERVAL_NOT_SET
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SessionTableSchema

        public SessionTableSchema()
        Deprecated.
    • Method Detail

      • setCatalogName

        public void setCatalogName​(java.lang.String catalogName)
        Deprecated.
      • getCatalogName

        public java.lang.String getCatalogName()
        Deprecated.
      • getSchemaName

        public java.lang.String getSchemaName()
        Deprecated.
      • setSchemaName

        public void setSchemaName​(java.lang.String schemaName)
        Deprecated.
      • getTableName

        public java.lang.String getTableName()
        Deprecated.
      • setTableName

        public void setTableName​(java.lang.String tableName)
        Deprecated.
      • getIdColumn

        public java.lang.String getIdColumn()
        Deprecated.
      • setIdColumn

        public void setIdColumn​(java.lang.String idColumn)
        Deprecated.
      • getContextPathColumn

        public java.lang.String getContextPathColumn()
        Deprecated.
      • setContextPathColumn

        public void setContextPathColumn​(java.lang.String contextPathColumn)
        Deprecated.
      • getVirtualHostColumn

        public java.lang.String getVirtualHostColumn()
        Deprecated.
      • setVirtualHostColumn

        public void setVirtualHostColumn​(java.lang.String virtualHostColumn)
        Deprecated.
      • getLastNodeColumn

        public java.lang.String getLastNodeColumn()
        Deprecated.
      • setLastNodeColumn

        public void setLastNodeColumn​(java.lang.String lastNodeColumn)
        Deprecated.
      • getAccessTimeColumn

        public java.lang.String getAccessTimeColumn()
        Deprecated.
      • setAccessTimeColumn

        public void setAccessTimeColumn​(java.lang.String accessTimeColumn)
        Deprecated.
      • getLastAccessTimeColumn

        public java.lang.String getLastAccessTimeColumn()
        Deprecated.
      • setLastAccessTimeColumn

        public void setLastAccessTimeColumn​(java.lang.String lastAccessTimeColumn)
        Deprecated.
      • getCreateTimeColumn

        public java.lang.String getCreateTimeColumn()
        Deprecated.
      • setCreateTimeColumn

        public void setCreateTimeColumn​(java.lang.String createTimeColumn)
        Deprecated.
      • getCookieTimeColumn

        public java.lang.String getCookieTimeColumn()
        Deprecated.
      • setCookieTimeColumn

        public void setCookieTimeColumn​(java.lang.String cookieTimeColumn)
        Deprecated.
      • getLastSavedTimeColumn

        public java.lang.String getLastSavedTimeColumn()
        Deprecated.
      • setLastSavedTimeColumn

        public void setLastSavedTimeColumn​(java.lang.String lastSavedTimeColumn)
        Deprecated.
      • getExpiryTimeColumn

        public java.lang.String getExpiryTimeColumn()
        Deprecated.
      • setExpiryTimeColumn

        public void setExpiryTimeColumn​(java.lang.String expiryTimeColumn)
        Deprecated.
      • getMaxIntervalColumn

        public java.lang.String getMaxIntervalColumn()
        Deprecated.
      • setMaxIntervalColumn

        public void setMaxIntervalColumn​(java.lang.String maxIntervalColumn)
        Deprecated.
      • getMapColumn

        public java.lang.String getMapColumn()
        Deprecated.
      • setMapColumn

        public void setMapColumn​(java.lang.String mapColumn)
        Deprecated.
      • getCreateStatementAsString

        public java.lang.String getCreateStatementAsString()
        Deprecated.
      • getCreateIndexOverExpiryStatementAsString

        public java.lang.String getCreateIndexOverExpiryStatementAsString​(java.lang.String indexName)
        Deprecated.
      • getCreateIndexOverSessionStatementAsString

        public java.lang.String getCreateIndexOverSessionStatementAsString​(java.lang.String indexName)
        Deprecated.
      • getAlterTableForMaxIntervalAsString

        public java.lang.String getAlterTableForMaxIntervalAsString()
        Deprecated.
      • getInsertSessionStatementAsString

        public java.lang.String getInsertSessionStatementAsString()
        Deprecated.
      • getUpdateSessionStatement

        public java.sql.PreparedStatement getUpdateSessionStatement​(java.sql.Connection connection,
                                                                    java.lang.String id,
                                                                    SessionContext context)
                                                             throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getExpiredSessionsStatement

        public java.sql.PreparedStatement getExpiredSessionsStatement​(java.sql.Connection connection,
                                                                      java.lang.String canonicalContextPath,
                                                                      java.lang.String vhost,
                                                                      long expiry)
                                                               throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getMyExpiredSessionsStatement

        public java.sql.PreparedStatement getMyExpiredSessionsStatement​(java.sql.Connection connection,
                                                                        SessionContext sessionContext,
                                                                        long expiry)
                                                                 throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getAllAncientExpiredSessionsStatement

        public java.sql.PreparedStatement getAllAncientExpiredSessionsStatement​(java.sql.Connection connection)
                                                                         throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getCheckSessionExistsStatement

        public java.sql.PreparedStatement getCheckSessionExistsStatement​(java.sql.Connection connection,
                                                                         SessionContext context)
                                                                  throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getLoadStatement

        public java.sql.PreparedStatement getLoadStatement​(java.sql.Connection connection,
                                                           java.lang.String id,
                                                           SessionContext contextId)
                                                    throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getUpdateStatement

        public java.sql.PreparedStatement getUpdateStatement​(java.sql.Connection connection,
                                                             java.lang.String id,
                                                             SessionContext contextId)
                                                      throws java.sql.SQLException
        Deprecated.
        Throws:
        java.sql.SQLException
      • getDeleteStatement

        public java.sql.PreparedStatement getDeleteStatement​(java.sql.Connection connection,
                                                             java.lang.String id,
                                                             SessionContext contextId)
                                                      throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • prepareTables

        public void prepareTables()
                           throws java.sql.SQLException
        Deprecated.
        Set up the tables in the database
        Throws:
        java.sql.SQLException - if unable to prepare tables
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object