java - Dynamically changing the command list submitted to Executor service -
i want change list of commands submitted executor service @ runtime. has tried doing that? can multiple commands submitted via single executor service instance? can list of commands submitted changed @ runtime (i might add or remove commands submitted executor, @ runtime)
any pointers appreciated.
singlethreadexecutor can accept multiple requests. once submit requests , can future it. tasks have not started can cancelled , new ones can submitted.
Comments
Post a Comment