# Uses of Interface
org.springframework.batch.core.step.item.KeyGenerator

Packages that use KeyGenerator
Package
Description
org.springframework.batch.core.configuration.xml
Parsers for XML based configuration
org.springframework.batch.core.step.builder
Step level builders for java based job configuration.
org.springframework.batch.core.step.factory
Factories for step level components.
org.springframework.batch.core.step.item
Specific implementations of step concerns for item-oriented approach.
org.springframework.batch.integration.chunk
Components for remote chunking.

- ## Uses of KeyGenerator in org.springframework.batch.core.configuration.xml

  Methods in org.springframework.batch.core.configuration.xml with parameters of type KeyGenerator
  Modifier and Type
  Method
  Description
  `void`
  StepParserStepFactoryBean.`setKeyGenerator(KeyGenerator keyGenerator)`
  A key generator that can be used to compare items with previously recorded items in a retry.

- ## Uses of KeyGenerator in org.springframework.batch.core.step.builder

  Methods in org.springframework.batch.core.step.builder with parameters of type KeyGenerator
  Modifier and Type
  Method
  Description
  `FaultTolerantStepBuilder<I,O>`
  FaultTolerantStepBuilder.`keyGenerator(KeyGenerator keyGenerator)`
  Sets the key generator for identifying retried items.

- ## Uses of KeyGenerator in org.springframework.batch.core.step.factory

  Methods in org.springframework.batch.core.step.factory with parameters of type KeyGenerator
  Modifier and Type
  Method
  Description
  `void`
  FaultTolerantStepFactoryBean.`setKeyGenerator(KeyGenerator keyGenerator)`
  The `KeyGenerator` to use to identify failed items across rollback.

- ## Uses of KeyGenerator in org.springframework.batch.core.step.item

  Methods in org.springframework.batch.core.step.item with parameters of type KeyGenerator
  Modifier and Type
  Method
  Description
  `void`
  FaultTolerantChunkProcessor.`setKeyGenerator(KeyGenerator keyGenerator)`
  The `KeyGenerator` to use to identify failed items across rollback.

- ## Uses of KeyGenerator in org.springframework.batch.integration.chunk

  Methods in org.springframework.batch.integration.chunk with parameters of type KeyGenerator
  Modifier and Type
  Method
  Description
  `RemoteChunkingManagerStepBuilder<I,O>`
  RemoteChunkingManagerStepBuilder.`keyGenerator(KeyGenerator keyGenerator)`