Local ReadWriteBackingMap and access keys

I am looking for some code to have a storage node access it's local ReadWriteBackingMap and get a list of all keys that are local to that node. I am assuming this is possible??
thanx
kevin

Hi Kevin,
where would you like to run this code? Your own thread, or a thread managed by Coherence related to the cache service of the cache corresponding to the backing map?
Such threads managed by Coherence is probably not a good good place for this.
Provided that you use 3.4, from your own thread you can do a query for keys where you constrain your query with a PartitionFilter to partitions owned by the respective member. However, it is possible that the list of owned partitions changes between you get the info and you act upon it (actually you can't really avoid this problem).
Member member = CacheFactory.getCluster().getLocalMember();
PartitionSet partsMember = service.getOwnedPartitions(member);
Filter filter = new PartitionedFilter(AlwaysFilter.INSTANCE, partsMember);
Set setKeysForMember = cache.keySet(filter);
// repartitioning in the meantime might have moved
// some of these partitions to different nodes and some new partitions
// on this node
// as a result some of the keys might not be local anymore
// also some local keys might not be in the resultAs for directly accessing the backing map, it is a very dangerous idea unless you know exactly what you try to do.
You should also consult the documentation of PartitionedFilter.
Best regards,
Robert
Edited by: robvarga on Oct 27, 2008 6:11 PM
Edited by: robvarga on Oct 27, 2008 6:11 PM

Similar Messages

  • Creation of developement class,package and access key

    COULD ANYBODY EXPLAIN about
    creation of developement class,package and access key
    and who will create them?

    Working With Development Objects
    Any component of an application program that is stored as a separate unit in the R/3 Repository is called a development object or a Repository Object. In the SAP System, all development objects that logically belong together are assigned to the same development class.
    Object Lists
    In the Object Navigator, development objects are displayed in object lists, which contain all of the elements in a development class, a program, global class, or function group.
    Object lists show not only a hierarchical overview of the development objects in a category, but also tell you how the objects are related to each other. The Object Navigator displays object lists as a tree.
    The topmost node of an object list is the development class. From here, you can navigate right down to the lowest hierarchical level of objects. If you select an object from the tree structure that itself describes an object list, the system displays just the new object list.
    For example:
    Selecting an Object List in the Object Navigator
    To select development objects, you use a selection list in the Object Navigator. This contains the following categories:
    Category
    Meaning
    Application hierarchy
    A list of all of the development classes in the SAP System. This list is arranged hierarchically by application components, component codes, and the development classes belonging to them
    Development class
    A list of all of the objects in the development class
    Program
    A list of all of the components in an ABAP program
    Function group
    A list of all of the function modules and their components that are defined within a function group
    Class
    A list of all of the components of a global class. It also lists the superclasses of the class, and all of the inherited and redefined methods of the current class.
    Internet service
    A list of all of the componentse of an Internet service:
    Service description, themes, language resources, HTML templates and MIME objects.
    When you choose an Internet service from the tree display, the Web Application Builder is started.
    See also Integrating Internet Services.
    Local objects
    A list of all of the local private objects of a user.
    Objects in this list belong to development class $TMP and are not transported. You can display both your own local private objects and those of other users. Local objects are used mostly for testing. If you want to transport a local object, you must assign it to another development class. For further information, refer to Changing Development Classes
    http://help.sap.com/saphelp_46c/helpdata/en/d1/80194b454211d189710000e8322d00/content.htm
    Creating the Main Package
    Use
    The main package is primarily a container for development objects that belong together, in that they share the same system, transport layer, and customer delivery status. However, you must store development objects in sub-packages, not in the main package itself.
    Several main packages can be grouped together to form a structure package.
    Prerequisites
    You have the authorization for the activity L0 (All Functions) using the S_DEVELOP authorization object.
    Procedure
    You create each normal package in a similar procedure to the one described below. It can then be included as a sub-package in a main package.
    To create a main package:
    1.       Open the Package Builder initial screen (SE21 or SPACKAGE).
    2.       In the Package field, enter a name for the package that complies with the tool’s Naming Conventions
    Within SAP itself, the name must begin with a letter from A to S, or from U to X.
    3.       Choose Create.
    The system displays the Create Package dialog box.
    4.       Enter the following package attributes:
    Short Text
    Application Component
    From the component hierarchy of the SAP system, choose the abbreviation for the application component to which you want to assign the new package.
    Software component
    Select an entry. The software component describes a set of development objects that can only be delivered in a single unit. You should assign all the sub-packages of the main package to this software component.
    Exception: Sub-packages that will not be delivered to customers must be assigned to the HOMEsoftware component.
    Main Package
    This checkbox appears only if you have the appropriate authorization (see Prerequisites).
    To indicate that the package is a main package, check this box.
    5.       Choose  Save.
    6.       In the dialog box that appears, assign a transport request.
    Result
    The Change package screen displays the attributes of the new package. To display the object list for the package in the Object Navigator as well, choose  from the button bar.
    You have created your main package and can now define a structure within it. Generally, you will continue by adding sub-packages to the main package. They themselves will contain the package elements you have assigned.
    See also
    Adding Sub-Packages to the Main Package
    http://help.sap.com/saphelp_nw04/helpdata/en/ea/c05d8cf01011d3964000a0c94260a5/content.htm
    access key used for change standard program.
    www.sap.service.com

  • CS6: tab index and access key

    are the tab index and access key features available in CS6?

    Depends on which version you have.  I think most Accessibility features were deprecated in 12.2.
    Nancy O.

  • Tab Canvas and Access Keys

    I need to be able to navigate between tabs on a canvas using just keyboard access keys, similar to access keys on buttons.
    Can anyone advise on if this is possible and if so how??
    Many Thanks,
    Jayesh Kavia

    I'm want to change my forms resource file to map a key for next tab and previous tab:
    eg, for Alt+C to exit a form the entry is:
    67 : 8 : "Alt+C" : 32 : "Exit"
    Where 32 is the Forms Function Number.
    Does anyone know what the forms function numbers for next / previous tab are?
    Many Thanks,
    Jayesh Kavia

  • IDES ABAP Workbench and access key

    Hi everyone,
    I am new to SAP, please Help.
    1. How i can use OSS ID.
    2. I installed 4.6B IDES, but ABAP - Workbench is not
       accessable.
    3. How i can get Access Key for ABAP Workbench.
    Thanks in Advance
    Shareef

    Hi,
    If you have OSS ID, you can use it to logon to service.sap.com where you have all kinds of support and help services available. That is where you use it.
    ABAP workbench will be accessible if you have authorization. I think you mean to say you are not able to create/change objects. For this you will have to register your userid as developer (again at service.sap.com) and that will give you the developer access key that you can then use.
    If you are changing any SAP object, you will need to get the corresponding key from OSS.
    If you do not have OSS logon, then you can forget about it (well, not strictly so, but that is the official 'truth'.).
    cheers,
    Ajay

  • How to Implement Abap Object and Access Key for se24 developers.

    Hi every One,
    This is Abdul Rahman, Started Learning Abap Objects i want a simple program to be executed i.e. in Local class (Abap program)and as well in global class(class builder).
    Also i would like to know  When ,Were and Why Abap Object should be used.
    prob to Me :- When i wanted execute F8 a Class in se24 Class Builder it is asking me AcessKey , plz if this is required plz any one send Me.
    I have this key 36687663221261278694 it is already used in Abap editor , it is not accepting in se24 .
    plz help Me , waiting for response ..
    thankyou so much
    Abdul Rahman.

    Hello Abdul
    Here are my answers to your questions:
    (1) <b>Local classes</b>: <i>Do not use them.</i>
    - As long as your class is rather small (few attributes and methods), local classes  are ok yet as soon as they become larger you will loose the overview
    (2) <b>Global classes</b>: <i>Do use them.</i>
    - Make use of global classes even if they are only used for your training. The big advantage over local classes is that you will get used to the classe builder (SE24) which has a plethora of functions.
    (3) <b>Executing global classes</b>: <i>Can be done if you have defined an OO-transaction.</i>
    - An OO-transaction has a class and one of its public methods as parameters (similar like report transactions). When you all the OO-transaction an instance of you class is created and the public method is called.
    (4) <b>Where and Why use ABAP Objects?</b> <i>Everywhere. Anytime.</i>
    - ABAP objects is about stability, maintainability and re-usability of coding. These developer aims can be much more fulfilled using ABAP OO means than in classical programming.
    Regards
       Uwe
    PS: There are situations where local classes are quite appropriate and, using ABAP Unit testing, are obligatory.

  • Tab keys and access keys

    I filled in the required info for dynamic textboxes in the
    accessibility panel but the tab keys still do not work in the exe
    file. Flash CS3.
    Any clues?
    Thanks.

    I'm want to change my forms resource file to map a key for next tab and previous tab:
    eg, for Alt+C to exit a form the entry is:
    67 : 8 : "Alt+C" : 32 : "Exit"
    Where 32 is the Forms Function Number.
    Does anyone know what the forms function numbers for next / previous tab are?
    Many Thanks,
    Jayesh Kavia

  • Getting the Object Access key

    This weird question,
    But does any one know how to get the object access key for Standard SAP object is changed..
    Normally when we try to do any modification on Standard SaP object it asks for and access key.. We need to enter it once, after which the object is open for editing.
    I have an SAP object which as been modified .
    I want to know that number?? Is it possible..
    Any help will be highly appreciated..
    Regards,
    Samir.

    Hi Samir,
    You have to contact SAP Support to obtain the access key for a Standard SAP Object. The correct channel for that is the OSS, where yo can raise a message requesting the same.
    But you are saying that there's one object that has already been modified. Who has done the modification ? When they have done it, they must have specified the access key. If you want to modify the same object, then the best thing for you to do is to contact the person who has changed it.
    By the way, have the modifications been done using the Modififcation Assistant?
    Regards,
    Anand Mandalika.

  • How Can I Disable Access Keys - Alt- and Ctl- on All Web Sites?

    How can I tell Firefox to Disable the use of Access Keys such as Alt-? and Ctl-? on All Web Sites?
    Thanks.

    See:
    *http://kb.mozillazine.org/Accessibility.accesskeycausesactivation
    *http://kb.mozillazine.org/Ui.key.contentAccess

  • URGENT - HELP NEEDED WITH ECC 6.0 ACCESS KEY and USER SETUP

    Please help me with the two issues:
    1) In ECC 6.0, When I go to SE12 , table V-FAGL_ACTIVEC (New GL Activation) to make the table display and maintenance allowed, I am asked for the access key. What is the access key that I am supposed to put here. When I go to DEVACCESS table and put my username, I still dont get the access key.
    2) Also I need to know what should be maintained under SU01 to give a user all authorizations. I have SAP_ALL and SAP_NEW. Is there anyother profile need to be given here. Also do I need to give anything under roles tab in order for the user to have all accesses??

    OK I have TAR for this:
    TAR 4234076.996
    and related issue discussed in regards to 500 Internal Server Error described on Neverending frustration with JDeveloper
    with the TAR number
    TAR 4332393.995
    The latter has been demonstrated and confirmed to be a BUG at this point. For the future updates on this issue please refer to
    Neverending frustration with JDeveloper

  • How can the symbol and non-English diacritical marking, etc accessed with combinations of letters and functional keys prior to Snow Leopard be achieved in Snow Leopard?

    How can the symbol and non-English diacritical marking/punctuation pallet, available in pre-Snow Leopard OSes with various combinations of letter or number keys and functional keys, be accessed in Snow Leopard?  Those pre-Snow Leopard versions worked on the fly as one was making text in any pedestrian application and its native font (Mail, Text Edit, for example).  One didn't need to dig around in font libraries, change font preferences, etc.

    > One didn't need to dig around in font libraries, change font
    > preferences, etc.
    It hasn't worked like that since the Early Chalcolithic (ie, System 7 or thereabouts).
    You've already got plenty of answers. Briefly (and grossly oversimplified),
    - Mac OS X conforms to a standard known as Unicode; in its current incarnation, it defines over 100k characters.
    - A keypress is translated into a character according to the current keyboard layout.
    - The graphic representation of a character (ie, glyph), is provided by the current font.
    - If a font lacks a glyph for the requested character, either another font will be automatically chosen (Mac OS X text engine), or some form of feedback (empty box, question mark, etc) will be used.
    - To inspect the actual key codes, use a utility such as Key Codes.
    - To inspect the current keyboard layout, invoke Keyboard Viewer.
    - To inspect the full complement of glyphs of a font, invoke Character Viewer (also accessed with the Special Characters command).
    (Remember that both these utilities are resizable and zoomable -- you can enlarge them to a comfortable viewing size, then zoom out to see more of the screen for your original task.)
    - For a more detailed look, use a utility such as UnicodeChecker.
    - The default keyboard layout depends on your Mac OS X localisation.
    (Keep in mind that there's no need to stick with the default layout; choose whichever one makes sense to you, given your language, habits, and proclivities. Mac OS X comes bundled with quite a few, including some obviously designed for the huddled masses of refugees from the Dark Side, who, in their wretched ignorance, have the unmitigated gall of labelling our native ways "really uncomfortable". Oh well, this, too, shall pass.
    If none of the supplied keyboard layouts fits your needs -- if, for instance, you write your emails in Etruscan -- go out on the 'net, you'll find quite a few. Or write your own with Ukulele, it's not really all that difficult.)
    - Use Keyboard Viewer to familiarise yourself with the current layout and to enter the odd character; but, to be proficient, you should learn your layout to the point that KV is no longer needed.
    - Use Character Viewer to enter the odd character not available in the current keyboard layout.
    Neither Keyboard Viewer nor Character Viewer are effective tools for more extensive needs, eg, for writing and editing bilingual or multilingual texts. In such a case, you should enable the respective keyboard layouts and switch between them with a keyboard shortcut.
    A few interesting layouts bundled with Mac OS X have already been mentioned. Let me add three.
    - Dvorak: several layouts based on the Dvorak keyboard. It is claimed that the latter is more productive and lessens RSI risk.
    - US Extended: based on QWERTY, it offers a more extensive set of diacritics (eg, caron, breve) via dead keys.
    - Unicode Hex Input: also based QWERTY, it allows input by Unicode codepoint (in hexadecimal), so it's the most extensive layout of all; eg, to enter the character "Parenthesized Number Twelve" (U+247F), hold down Option, type "247f", release Option.

  • FlexConnect local/central switched and Access-Accept Packets

    For our branch offices’s wireless access, we would like to use FlexConnect with one SSID and two distinct user profiles:
    •  Full network access, local switched.
    •  Limited network access, central switched:
    ◦       To isolate traffic from the branch’s LAN.
    ◦       To force traffic through a firewall at the central site.
    ▪       To ease access rules management.
    ◦       Internet access only by default.
    ▪       Internet access is located at the central site.
    ▪       We expect to manage some exceptions to the rule.
    We know that it’s not possible to switch from local to central switched using the same SSID with FlexConnect and AAA Override.
    However, we found an interesting bit in the documentation pages regarding RADIUS attributes:
    Authentication Attributes Honored in Access-Accept Packets (Airespace)
    VAP ID
    This attribute indicates the WLAN ID of the WLAN to which the client should belong. When the WLAN-ID attribute is present in the RADIUS Access Accept, the system applies the WLAN-ID (SSID) to the client station after it authenticates. [...]
    Source:
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/7-6/configuration/guide/b_cg76/b_cg76_chapter_0101000.html#reference_327F94A40AAE46E48153B265E521DDCF
    We then made an assumption that the following was possible:
    •  Create a second SSID
    ◦       Broadcast not enabled
    ◦       Central Switched
    •  Users would authenticate using the first SSID
    •  In it’s access-accept packet, the RADIUS server would return an
    Airespace-WLAN-Id attribute with the value of the second SSID.
    •      The WLC would then assign the second SSID to the users so they’re central switched and forwarded through the firewall at the main site.
    So far, our tests showed no results.
    •  Is that solution achievable at all? It seemed so from the documentation, but we haven’t found any documented evidence that someone actually tried it.
    •  If not, what would you recommend?
    For RADIUS, we are using Microsoft 2012r2 NPS servers. Everything’s been working fine with them so far. We can do AAA vlan override for our main site and with FlexConnect also, without any problems. What’s not working is the local/central switched scenario we’re trying to pull off. The RADIUS server sends the Airespace-WLAN-Id attribute from what I see with Wireshark, but the WLC does not seem to react to it like I thought it would. I couldn’t find a debug command that would tell me what the WLC does with the attributes from the access-accept packet. Maybe the behaviour I’m experiencing is to be expected, that’s what I would like to know.
    Thank you very much,

    Your WLAN is defined with as centrally switched or locally switched, AAA override will not chage that value.  AAA attributes can change a users vlan, acl and QoS.  The other attributes are intended to use for rules... example:
    Is the user part of this AD group and is this user on WLAN ID=1.
    You will not be able to go from centrally switched to locally swithed and vice versa.  I don't know how you would be able to achieve what your trying to acomplish with one SSID to be honest.

  • Is anyone else having the finish rub off of the keys on their macbook? I've had mine for about 6 months and several keys look like the finish is wearing through. I went to the local genius bar today and the techs said they'd never seen this before.

    Is anyone else having the finish rub off of the keys on their macbook? I've had mine for about 6 months and several keys look like the finish is wearing through. I went to the local genius bar today and the techs said they'd never seen this before.

    Some people have seen their aluminum uni-body discoloring due to body oils.  Go figure.
    Normally putting anything over the keys/aluminum will hurt heat disspation, but you may need to use keyboard covers.
    Or save up $500/year for new keyboards.
    Neither is supposed to be a sarcastic answer.  Either one could end up being the solution.
    Good luck with it.

  • Access Key for Trial Version Web Dynpro ABAP 7.01 and  7.02

    Hi Guys,
               Can someone tell me, what is the Access Key for Trial Version Web Dynpro ABAP 7.01 and 7.02
    Regards
    Sankar

    >
    sankar.cgsl wrote:
    > Hi Guys,
    >
    >
    >            Can someone tell me, what is the Access Key for Trial Version Web Dynpro ABAP 7.01 and 7.02
    >
    >
    >
    > Regards
    > Sankar
    HI Sankar,
    I think it is not to get from this forum. You have to download the trail version and follow the instructions for installation.
    Once you installed the software, you can request for the License key with your SCN credentials.
    Follow this link for 7.02 Trial [/people/horst.keller/blog/2010/12/09/abap-trial-version-702-available-in-scn|/people/horst.keller/blog/2010/12/09/abap-trial-version-702-available-in-scn]

  • Flash and HTML Access Keys/Keyboard Shortcuts

    I have a webpage with embedded Flash. I am attempting to use my HTML Access Keys/Keyboard Shortcuts while in the Flash piece, and it will not work until I exit the Flash. Is this normal behavior, or is there something wrong with my code?
    Perhaps HTML  Access Keys/Keyboard Shortcuts do not operate when the user is in the Flash piece?
    Thanks for the help!    

    Would you mind reposting this question over on the Flash Professional forums (http://adobe.ly/XnCf1)?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.
    Thanks,
    Chris

Maybe you are looking for

  • Radeon 7500 vs onboard Geforce2MX

    I'm considering getting a ATI All-In-Wonder Radeon 7500 for my nForce1. Does anyone know whether this card is faster or slower than the onboard Geforce2MX? I really hate to take a hit in performance playing Counter Strike or Medal of Honor. I found s

  • Using Ruby in place of Actionscript

    I love flash (design tools, stage / layout concepts, etc.), but I hate actionscript. I've been a programmer for about 10 years now, programming in everything from C to C#, java, php, perl, ruby, and actionscript. Actionscript is by far my least favor

  • MBP won't connect to wifi. iPad and iPhone will

    Having some trouble connecting to a wifi network. I'm staying at a hotel and for the past week I've had no trouble connecting to the wifi here. Suddenly, yesterday, I can't detect the network at all on my MBP but my iPhone and iPad have no problem. I

  • Page to Page interactions

    We have built extensive dashboard solutions using SSRS, and one of the things that I don't see in Power BI is a drill-thru capability to click on a value in a report and drill to another page with different, more detailed visualizations based upon th

  • Macro help needed Urgently

    Hi All If I want to hard code the processing dates what is the setting required . What I mean by hard coding is that when the month rolls the the months for which the macro is procssed should not change. For exmaple If I have defined a macro like Ste