code: @SuppressWarnings("rawtypes")
      @Override
      public State makeState(Map conf, IMetricsContext metrics, int partitionIndex, int numPartitions)
      {
          InfinispanLofState resultState = new InfinispanLofState(this.targetUri, this.tableName,
                  partitionIndex, numPartitions);
          if (this.mergeInterval > 0)
          {
              resultState.setMergeInterval(this.mergeInterval);
          }
  
          if (this.lifespan > 0)
          {
              resultState.setLifespan(this.lifespan);
          }
  
          if (this.mergeConfig != null)
          {
              resultState.setMergeConfig(this.mergeConfig);
          }
  
          resultState.initialize();
          return resultState;
      }
docs: {@inheritDoc}