This class tracks the validity of the key and implements cancellation. author: Mark Reinholdauthor: JSR-51 Expert Groupversion: 1.19, 07/05/05since: 1.4
If this key has not yet been cancelled then it is added to its selector's cancelled-key set while synchronized on that set.