{
  "id": "gearsfuture",
  "title": "GearsFuture",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsfuture/",
  "summary": "Allows asynchronous processing of records.",
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-04-22T11:55:45+02:00",
  "children": [
    {
      "id": "seterror",
      "summary": "Sets an error message.",
      "title": "SetError",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsfuture/seterror/"
    },
    {
      "id": "setresult",
      "summary": "Sets a computation to run asynchronously.",
      "title": "SetResult",
      "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsfuture/setresult/"
    }
  ],
  "page_type": "content",
  "content_hash": "655957df6a1ad74dfd98e9659e20153c71f2fc274b0f643b69cccdcb4cd4c963",
  "sections": [
    {
      "id": "overview",
      "title": "Overview",
      "role": "overview",
      "text": "The `GearsFuture` class allows asynchronous processing of records in another thread.\n\nYou can use a `GearsFuture` object with the following [`GearsBuilder`](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsbuilder) functions:\n\n- [`asyncFilter`](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsbuilder/asyncfilter)\n- [`asyncForeach`](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsbuilder/asyncforeach)\n- [`asyncMap`](https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/deprecated-features/gears-v1/jvm/classes/gearsbuilder/asyncmap)"
    },
    {
      "id": "functions",
      "title": "Functions",
      "role": "content",
      "text": ""
    }
  ],
  "examples": []
}
