public void initPartition() {
        innerStateRuntime.init();
        for (PreStateProcessor preStateProcessor : startupPreStateProcessors) {
            if (preStateProcessor instanceof PartitionCreationListener) {
                ((PartitionCreationListener) preStateProcessor).partitionCreated();
            }
        }
    }
Stream Runtime implementation to represent {@link StateEvent}.
modules/siddhi-core/src/main/java/io/siddhi/core/query/input/stream/state/StateStreamRuntime.java