Skip to content

Add periodic-schedule catalog management to the Java SDK #485

Closed

Description

@pratyush618

Java can register and list periodic tasks (registerPeriodic, listPeriodic) but cannot manage them afterwards — there is no unschedule, pause, or resume.

Add the missing catalog operations to Taskito/DefaultTaskito over the existing core periodic storage methods, plus tests and a docs section under docs/content/docs/java/guides/.

Activity

  1. self-assigned this
    on Jul 23, 2026
  2. kartikeya-27 commented on Jul 23, 2026

    @kartikeya-27
    Collaborator

    Already shipped in #313 (d8606ab9, 2026-06-27) — this issue was filed after the fact.

    Full chain is wired:

    • crates/taskito-core/src/storage/traits.rs:225,228 — delete_periodic, set_periodic_enabled
    • crates/taskito-java/src/queue/periodic.rs:86,103 — deletePeriodic, setPeriodicEnabled
    • sdks/java/src/main/java/org/byteveda/taskito/spi/QueueBackend.java:189,194
    • sdks/java/src/main/java/org/byteveda/taskito/internal/JniQueueBackend.java:300,305
    • sdks/java/src/main/java/org/byteveda/taskito/Taskito.java:371,374,377 — deletePeriodic / pausePeriodic / resumePeriodic
    • sdks/java/src/main/java/org/byteveda/taskito/DefaultTaskito.java:772,777,782
    • sdks/java/test-support/src/main/java/org/byteveda/taskito/test/InMemoryQueueBackend.java:537,542

    Tests: PeriodicTest.listPauseResumeDelete covers list / pause / resume / delete / unknown-name / double-delete against the JNI backend on SQLite. Verified green locally (1 test, 0 failures).

    Docs: docs/content/docs/shared/guides/core/scheduling.mdx has a Java block under "Managing periodic tasks" (shared pages fan out per-SDK, so it renders at /java/guides/core/scheduling), plus java/api-reference/queue/resources.mdx and java/api-reference/testing.mdx.

    Java is at parity with the cross-SDK contract here. The remaining gap is on the Python side — tracked separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestjavaJava SDK

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions