Class CellCacheSegmentCreateEvent

  • All Implemented Interfaces:
    Message

    public class CellCacheSegmentCreateEvent
    extends CellCacheEvent
    Creation of a segment in the cell cache.
    • Field Detail

      • coordinateCount

        public final int coordinateCount
      • actualCellCount

        public final int actualCellCount
    • Constructor Detail

      • CellCacheSegmentCreateEvent

        public CellCacheSegmentCreateEvent​(long timestamp,
                                           int serverId,
                                           int connectionId,
                                           long statementId,
                                           long executionId,
                                           int coordinateCount,
                                           int actualCellCount,
                                           CellCacheEvent.Source source)
        Creates a CellCacheSegmentCreateEvent.
        Parameters:
        timestamp - Timestamp
        serverId - ID of the server from which the event originates.
        connectionId - ID of the connection from which the event originates.
        statementId - ID of the statement from which the event originates.
        executionId - ID of the execution from which the event originates.
        coordinateCount - Number of coordinates of segment header
        actualCellCount - Number of cells in body (or 0 if body not yet present)
        source - Source of segment
    • Method Detail

      • accept

        public <T> T accept​(Visitor<T> visitor)
        Description copied from interface: Message
        Dispatches a call to the appropriate visit method on Visitor.
        Type Parameters:
        T - Return type
        Parameters:
        visitor - Visitor
        Returns:
        Value returned by the visit method