Do I need to cancel the selection key when I close it's socket channel?

I have a non blocking server implementation and I need to know is it mandatory to call SelectionKey#cancel after I have called the SocketChannel#close to it's channel? When I close the channel, will it cancel the key automatically or what if I don't cancel the key, how does it affect to the selector?
JK

Thanks ejp, you are right, it's documented in SelectableChannel not in SocketChannel. My mistake.

Similar Messages

  • Check Proposal is Run but Checks are not Printed-need to cancel the run

    The Accounts Payable Check Proposal is Run but Checks are not Printed- I need to cancel the run. How do I do this ?
    Points will be awarded.
    Thanks.
    Kathy

    Restart
    If the printer stops during printing, for example because of a power failure, you will need to restart
    the print program.
    1. To do this, choose System   Services   Reporting.
    2. Enter the name of the print program (RFFOUS_C) and select Program   Execute.
    3. Enter the data identifying the print run and enter the check number from which the
    program should be restarted in the Restart field.
    4. Select Program   Execute again.
    If there is a system crash during the print run but before any checks have been printed, you
    should proceed as follows:
    1. Correct the error that caused the system to crash.
    2. Delete the check information. To do this, choose Environment   Check information 
    Delete   For payment run.
    3. Restart the print program but do not use the restart option described above.
    If there is a system crash during the print run and some checks have already been printed, you
    should proceed as follows:
    1. Correct the error that caused the system to crash.
    This error may occur, for example, when a check lot is used up and the next lot has not
    been maintained. In this case, the first thing to do after the system crash is to enter a
    new check lot. See: Maintaining Check Lots [Page 7]
    2. Delete the check information. To do this, choose Environment   Check information 
    Delete   For payment run.
    3. Restart the print program but do not use the restart option described above.
    4. Delete the print output from the print management files.
    5. Now restart the print program, this time using the restart option, (see above).
    PAGE 25 IN CHECK MANAGEMENT PDF FILE FROM HELP.SAP.  TO DOWNLOAD CLICK ON BELOW  LINK
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIBP/FI-BL-BM-CM.pdf
    ASSIGN POINTS IF HELPFUL.

  • I need to cancel the previous game purchase that is not uploaded yet.

    My niece plated games in my IPAD2 and accidentally purchase coins in the games but not continue since my credit card security # not entered. Now everytime I downloded free games it keeps on asking to provide the security key in order to continue the billing. I need to cancel the previous game purchase that is not uploaded ye, what will I do?

    Click here and request assistance.
    (63314)

  • Need to cancel the schedule line

    Dear all,
    Please advice me, for stock model meaning SO stock is not tied with SO, it will be in Unrest, stock. this scenario i need to cancel the Schedule line qty for confirmed SO & need to assign for Unconfirmed SO which delivery date is near to the Current date.

    Hi
    Backorder processing helps you in this event. Use transaction V_V2. In that give the material number and plant.In the options select sales document and uncofirmed documents required.and below select the priorities of sales document and deliveries.
    Reward if this helps.
    Regards
    Simu

  • Disable the need of the function key when using the control key

    I'm often using the F1-12 keys when using an IDE for developing. Those IDE's use the CTR+F1-12 shortcuts quite a bit and it's always needed to use FN+CTR+F1-12 which is ridiculous and redundant. Is there a way to keep using the functions assigned to F1-12 (Adjust volume, brightness...) without pressing the function key and be able of using CTR or ALT +F1-12 without the need of pressing the function key?

    According to the system help text it is possible. And for me it works as described in the help text on my MacBook Pro.
    But on my  Mac Pro (late 2013) the relevant control (“Use all F1, F2, etc. keys as standard function keys”) is missing form System Preferences >> Keyboard >> Keyboard.
    From the help text for the topic "Use keyboard function keys:"
    If you frequently use the alternate function of a function key, you can switch the keyboard so that the function keys perform the alternate function without your pressing Fn. You then hold down Fn to use a function key’s original hardware control function. If your keyboard doesn’t have an Fn key, try holding down the Control key.
    Choose Apple menu > System Preferences, then click Keyboard.
    Open Keyboard preferences
    Select the “Use all F1, F2, etc. keys as standard function keys” checkbox.

  • ASA 5505 Failure replaced and need to move the license key?

    Can someone point me in the right direction? My ASA 5505 died due to a power surge and I swapped it with a spare. I had Security Plus and a 50 user license and need to move the license keys from the failed ASA 5505 to the new one. I kept both my emails with the activation keys, but not sure how I get this transferred?  Thanks in advance.
    Joe

    I think this is totally unacceptable. For anyone else who uses a 5505 at home and has bought licenses and the hardware out of their own pocket, the idea here should be that you've already bought the hardware and the license. Seems obvious, right?
    Yes I can see the license being device specific if not only because that's the way you've designed your licensing activation schema; but if I've just had your product fail and bought another replacement, there should be an understanding or agreement between Cisco and the user that we can reinstate any licenses we've already bought.
    Do you really believe it's fair to make someone buy something from you twice, something that they've already bought from you? Do you actually believe that? I believe that the people in the Cisco Licensing department would agree with my viewpoint and I have a pending case with them for this issue right now. I will post my result here.
    Make your products last and perhaps I can give credence to your licensing beliefs, until then your products fail and so does your licensing logic.

  • I need to cancel the annual  payment and put it monthly.

    My partners bought me the complete CC Suite, thinking the payment would be billed monthly, but it was billed annually, i need to cancel the payment, and pay it myself with a new enterspise subscription.

    Lewis2293 to cancel an annual membership you will want contact our support team directly at Contact Customer Care.  You can find additional details at Cancel your membership or subscription | Creative Cloud - http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html.

  • I need to use the F12 key as a function key not as volume

    I am using a DOS system for work and need to use the F12 key as a function key and not volume how to I do this....... frustrating!

    Tried that still changes volume

  • I need to use the "apple key" which is, I presume the command key, but I do not have an apple keyboard; is there a key on a logitech keyboard which will serve the purpose?

    I need to use the "Apple key" which I presume is the command key; my computer does not have an apple keyboard; is there a key on a logitech keyboard which will serve the same purpose?

    The "Windows flag" key on PC keyaboard in Commans, "Alt" is option.
    Go to Logitech website to see if they have Mac compatibility software (Logictech Control Center) to make mappings a bit more complex).

  • Hi , i recently bought a mouse on apple store and i deleated the invoice in my email accidentally , i also signed in as guest to buy the mouse so now i cant get my order number . i need to cancel the order because the mouse went over my budget.

    hi , i recently bought a mouse on apple store and i deleated the invoice in my email accidentally , i also signed in as guest to buy the mouse so now i cant get my order number . i need to cancel the order because the mouse went over my budget.

    Call Apple Customer Relations (1-800) 275-2273.  Wait for a human to come on the line and ask politely and firmly that you want to be transferred over to the Customer Relations department.

  • My Ipod touch froze and now the screen shows a tiny flower symbol. I`ve tried to restart it by holding down the on/off button and the selection key for 10 seconds then releasing but it does nothing.ol

    My Ipod touch froze and now the screen showa a symbol like a tiny flower.  I have tried to re-start it by holding down the on/off switch and the selections key together for 10 seconds but nothing happens.  Ithe Ipod does not show on Itunes but shows in My Computer.  When plugged into USB the Ipod gets warm.

    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • I delete my iPhone for accident but it Was hurt to my i need to cancel the process is it possible?

    I delete my iPhone for accident but it Was hurt to my i need to cancel the process is it possible?

    Only way I can figure is having double entries one with singular + some unique field, (maybe called Siri), then making a Smart group for one or both.

  • I bought by mistake the 9.99$ creative suit along with the 19.99$ one. I need to cancel the first, how is it done?

    I bought by mistake the 9.99$ creative suit along with the 19.99$ one.
    I need to cancel the first and stick nwith the second, how is it done?

    Cancel the Cloud http://forums.adobe.com/thread/1439535?tstart=0 may help

  • I need to cancel the registration of Adobe Cloud

    Hi, I need to cancel the registration of Adobe Cloud, What should I do?

    Look thru the following links and use the chat option if required for your situation:
    Cancel your membership or subscription | Creative Cloud
    https://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    https://forums.adobe.com/thread/1703848
    Chat support - For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Creative Cloud support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html ( http://adobe.ly/19llvMN )

  • Holding down the option key when booting my iMac lo longer shows me my bootable external drives, the system just boots up to the main system. Also, holding down command, option,P,R no longer zaps the p-ram. the system just boots up.

    Holding down the option key when booting my iMac lo longer shows me my bootable external drives, the system just boots up to the main system. Also, holding down command, option,P,R no longer zaps the p-ram. the system just boots up normally. Why do these key fonctions no longer work?

    It could be your timing if on a bluetooth keyboard.  I find it best to hit the keys as soon as i hear the chime, release and hit them again but this time holding them before the chime ends....like a fake pump in football.
    But....you can always open up system preferences, startup disk, and select your bootable clone for booting.  If it doesn't show up there, the Mac doesn't think it's bootable.

Maybe you are looking for

  • Photoshop Album 1.0: How do I reconnect 350 "edited pictures" showing as disconnected files?

    I purchased and downloaded PS Elements 13 64-bit Win7 from the Adobe website to a new Dell Inspirion 64-bit with Win 7 Pro.  I have previously been using a registered copy of Photoshop Album 1.0 and Photoshop Elements 2.0 since 2005.  The most recent

  • Archive & Install - Possible with error ' the underlying task reported fail

    I have tried to repair my drive in disk utility however i get a error message ; 'the underlying task reported failure one exit' My question is , am i able to do a archive and install?? im worried about doing a reformat as i have only just put new pho

  • Query Report in FX-RE

    Hi all, I`ve had no luck creating a query report, neither using Table Join, nor Logical Database. Has somebody had any similar experience? Thanks -S

  • Address Book starts but it's frozen

    Hello everybody.. i have a trouble with my address book: it starts but i can't click anywhere... it's all frozen.. the button "show vCard and column" is always selected... the menubar works... if in the menubar i click "show only vCard", the size of

  • How to Set Universal time in iPod Touch?

    the ipod touch's date and time has been changed by itself, so i want to change the time in to universal time Is there a way that i have to set by my self but doing other things? like example, my window computer's clock is universal time can i synchro