repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: conditionally reset strategy internals
[poolifier.git]
/
src
/
pools
/
thread
/
fixed.ts
diff --git
a/src/pools/thread/fixed.ts
b/src/pools/thread/fixed.ts
index a37ccbf76b5864b8cc4f27b847596d7b9c533d38..2c4f66f0ff4d8be12d192f4028b1b1a17262bbc7 100644
(file)
--- a/
src/pools/thread/fixed.ts
+++ b/
src/pools/thread/fixed.ts
@@
-96,8
+96,13
@@
export class FixedThreadPool<
return PoolType.FIXED
}
return PoolType.FIXED
}
+ /** {@inheritDoc} */
+ public get full (): boolean {
+ return this.workers.length === this.numberOfWorkers
+ }
+
/** {@inheritDoc} */
public get busy (): boolean {
/** {@inheritDoc} */
public get busy (): boolean {
- return this.internal
GetBusyStatus
()
+ return this.internal
Busy
()
}
}
}
}