java.lang.Object
com.gigaspaces.internal.server.space.redolog.storage.SqliteStorageLayer<T>
Direct Known Subclasses:
SqliteRedoLogFileStorage

public abstract class SqliteStorageLayer<T extends IReplicationOrderedPacket> extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getStorageRedoLogSize

      protected long getStorageRedoLogSize()
    • executeCreateTable

      protected void executeCreateTable(String sqlQuery) throws SQLException
      Throws:
      SQLException
    • executeInsert

      protected long executeInsert(PreparedStatement statement) throws SQLException
      Throws:
      SQLException
    • executeQuery

      protected ResultSet executeQuery(String sqlQuery) throws SQLException
      Throws:
      SQLException
    • executeDelete

      protected long executeDelete(String sqlQuery) throws SQLException
      Throws:
      SQLException
    • serializePacket

      protected byte[] serializePacket(T packet)
    • deserializePacket

      protected T deserializePacket(ResultSet resultSet)
    • dropTable

      protected void dropTable() throws SQLException
      Throws:
      SQLException
    • deleteDataFile

      public void deleteDataFile()
    • getPacketCount

      protected int getPacketCount(T packet)
    • getPacketTypeName

      protected String getPacketTypeName(T packet)
    • getPacketUID

      protected String getPacketUID(T packet)
    • getPacketWeight

      protected int getPacketWeight(T packet)
    • getPacketOperationTypeName

      protected String getPacketOperationTypeName(T packet)