Skip to content

Build Basic Watcher Class #4

Description

@FosterSamuel

The Watcher class will use the SchedulerExecutorService to call a Reminder's notify method on its specific time interval. (see #3) It will do setup this repeated call in a method called schedule(reminderObject).

Relevant docs for SchedulerExecutorService: https://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ScheduledExecutorService.html

The Watcher class will also feature a stop(reminder) method, but that will be subject to change depending on how the Reminder object evolves to send notifications to the main driver class.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions