public Set<String> getPartitionKeys() {
        PartitionState state = stateHolder.getState();
        try {
            return new HashSet<>(state.partitionKeys.keySet());
        } finally {
            stateHolder.returnState(state);
        }
    }
Runtime class to handle partitioning. It will hold all information regarding current partitions and wil create
partition dynamically during runtime.
modules/siddhi-core/src/main/java/io/siddhi/core/partition/PartitionRuntimeImpl.java