@Override
    public int hashCode() {
        int result = (int) (timestamp ^ (timestamp >>> 32));
        result = 31 * result + (data != null ? Arrays.hashCode(data) : 0);
        result = 31 * result + (isExpired ? 1 : 0);
        return result;
    }
Event that is used external to Siddhi
modules/siddhi-core/src/main/java/io/siddhi/core/event/Event.java