Changing high and low units while tangosol is running

Hi,
     i've a 3 machine setup. on the first one i've weblogic and tangosol with local storage as false.
     on the other two i've have tangosol running with local storage enabled and i'm running a distributed service.
     initially i've kept high units as 1000 and low units as 500. i would like to provide a screen to the amdin user where by he can change the high and low unit limit.
     i'm accessing the local cache using the following code
     CacheService service = dealCacheCoarseGrained.getCacheService() ;
     Map mapReadWrite = ( ( DefaultConfigurableCacheFactory.Manager ) service.getBackingMapManager() ) .getBackingMap( bundle.getString( "DistCache" ) ) ;
     if ( mapReadWrite instanceof ReadWriteBackingMap ) {
     rdwMap = ( ReadWriteBackingMap ) mapReadWrite;
     Map mapLocal = rdwMap.getInternalCache() ;
     if ( mapLocal instanceof LocalCache ) {
     localCache = ( LocalCache ) mapLocal;
     localCache.setHighUnits( evictionDetails.getHighUnits() ) ;
     localCache.setLowUnits( evictionDetails.getLowUnits() ) ;
     but in the above case as the tangosol operating within the weblogic JVM has local storage as false,
     the condition if ( mapLocal instanceof LocalCache ) {...
     is never fulfilled and as a result
     i'm not able to bring about the changes from the GUI.
     Can i achieve my objective with this setup?
     Please help
     Thanks
     Jigs

Hi jigs,
     I would have the GUI kick off an Invocation Task that uses the code that you have here. Then send that Invocation Task to all storage enabled nodes. You can retreive the set of storage enabled nodes from DistributedCacheService.getStorageEnabledMembers().
     Later,
     Rob Misek
     Tangosol, Inc.

Similar Messages

  • What are high and low values in sharepoint 2013 user permissions?

    So I hit this api:
    http://win-a3q7ml82p8f/sharepoint_site/_api/web/roledefinitions/
    And got the different high and low values. But I am not clear with what they mean:
    For eg:
    High: 176, Low: 138612833
    and
    High: 176, Low: 138612801
    So for different values of Low how does it change the permissions?
    For 176 its binary is 10110000. So looking at this table here: http://www.dctmcontent.com/sharepoint/Articles/Permissions%20and%20Mask%20Values.aspx
    I can understand that 176 would mean the following set of permissions:
    DeleteVersions
    OpenItems
    ApproveItems
    But what's confusing me is, that user has OpenItems permissions but not ViewListItems permission? Am I wrong in understanding this?
    Also how does the value of Low change the overall user permissions?
    Note: I looked at this answer: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9d6df168-e8f5-4323-8c34-0646c03eff68/rest-api-what-are-high-and-low-in-effectivebasepermissions-and-getusereffectivepermissions?forum=sharepointdevelopment
    But honestly I cant understand what that means. Can someone help please?

    check this blog may explain you...
    http://jamestsai.net/Blog/post/Understand-SharePoint-Permissions---Part-1-SPBasePermissions-in-Hex2c-Decimal-and-Binary---The-Basics.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Netflix movie resolution phases in and out of high and low.

    When I'm watching a netflix movie even with WiFi the resolution phases in and out of high and low resolution. Does anyone know what is causing this?

    Yes, you download speed is changing. If the download speed is not great enough for HD it reverts to SD.

  • Custom high and low times for square waves

    Hi, is there a way to create a square wave that has an incremental HIGH pulse width and a fixed LOW pulse width?
    Sorry I'm quite new with labview, any help is appreciated, thanks!
    Solved!
    Go to Solution.

    Hi GBPC,
    My name is Jack and I work at National Instruments UK.
    I understand you are trying to output a square wave signal with a fixed low time and variable high time in labVIEW.
    The reply above works great if you want to use the signal internally. Alternatively if you are trying to output the signal with a piece of internal or external Data Acquisition (DAQ) hardware you will want to use LabVIEWs DAQmx Tool palette.
    I have created a quick example below for you to look at that should help you come to a solution. It uses the DAQmx VIs to create and initialize a channel and then runs it in a loop with controls to change the high and low times using a property node.
    Hope this helps
    Jack. W
    Applications Engineer
    National Instruments
    Attachments:
    Variable High Time Pulse Generator.png ‏37 KB

  • How can I extract high and low parts of a string that represents a 64bits decimal number?

    I want to extract the high and low parts to interpret it and convert to binary code, but such a hugh number (represented by a string) isn't easy to extract from the string directly its high and low parts.

    LabVIEW can't handle a 64-bit integer. You will have to store it as two 32-bit integers. If you need exact math on those 64-bit intergers you will have to make up your own routines to handle the carries and what not. If you just need pretty good accuracy, covert both 32-bit integers to double, multiply the upper 32-bit number by 2*32 (also a double) and then add the lower 32-bit number to it.
    Good luck.

  • AI Acquire Waveforms High and Low Limit

    Hey everybody,
    I am currently working with Labview 7.1 and a daq card. I am collecting 4 channels and using ai acquire waveforms to do this. I want to have different high and low voltage limits for each channel though. Is there a way to do this with ai acquire waveforms or would can I use something else.
    Thanks for the help!
    Devon

    Hey Devon,
    In addition to what David said, there is a great knowledgebase article here with more information about setting multiple ranges for Analog Input.  The Traditional DAQ vi, AI Acquire Waveforms, doesn't expose the ability to set multle input ranges per channel, but there is a quick fix that you can do to be able to add it to the vi.  See below:
    The block diagram of the AI Acquire waveforms is as follows:
    As you can see, the inputs of the vi that are exposed are simply the first element in a array of clusters including the high and low limits per channel.  To set the high and low limits for other channels, you need to simply add another element to the array for channels 1, 2, and 3.  See below:
    Here you can see I simply added one element, you need to add 2 more for your 4 channels.  If it turns out that you are using DAQmx and this doesn't apply, please refer to the knowledgebase above for details and an examples on how to set different ranges.
    Regards,
    Paul C.

  • TS3999 I see high and low temps in place of scheduled events. Why do I see weather instead of events? Is there a way to switch ?

    Anyone out there with a solution?  I don't know how it got there but I now see high and low temps in my Calender view 68/45 and I don't know how to get back to only events.
    Thanks

    Check Settings>Privacy>Calendars.  You may have a weather app that is accessing your calendar and entering this information.  If so, turn it to Off and see if it stops.

  • Impact of changing positions and Org Unit short text

    Hi All..
    This is regarding the impact  of changing positions and Org Unit short text(SAP name - Object Abbreviation, technical field u2013 hrp1000-short).The new approach we are ging to have is to keep short text same across the business unit.
    Example:
    All position in US will have short text u2013 USS
    Similarly All US Org Unit short text will be COMUS
    I was wondering, from SAP best practices point of view, do you see any downside in this approach?
    Example: Any problem in searching position or org using search term.
    Please pin your thoughts...
    Thanks,
    Kumar

    Hi,
    Normally such change will not have any impact in PA module.
    Only in exceptional cases it will have an impact in following cases:
    1. First and mandatory condition that you use abbreviation as position name in IT 0001. If this is the case parameter PLOGI TEXTC (in table T77S0) should be equal X.
    2. Second condition is that parameter PLOGI SPLIT is equal to X. That means that change of object name will lead to record split in IT 0001 in PA.
    So if in table T77S0 you don't have setting PLOGI TEXTC = X and PLOGI SPLIT = X you can go ahead with change of positions abbreviations. It will have no impact on other modules.
    Cheers!

  • What is the max. cable length that the Differential TTL signals can run in both at high and low frequencies?

    Hello,
                I want to now the max. cable length that the Differential TTL signals can run in both at high and low frequencies.

    That is very dependant on the type of cable, its construction, and inherent impedance and capacitance. This may be of use:
    http://beiied.com/PDFs2/SSI_14-15-bit-encoder_addendum.pdf
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • I need to set high and low temperatur​es, which will set off a sound if passed.

    I'm doing this on a DaqBook 2k0. I spilt the channels up and converted then into F. The readings are then shown on 15 bar graphs. I want to set this up on each channel (one at a time). I want to get the line of data (temp) for each channel on an High, low alarm. When the high or low is passed i want some kind of sound to be set off. I found that your samples used LabView hardware so they just linked into that.Using 3rd party i need to get the alarm to read the data, not device.
    -Thank You

    VinnyC,
    You should be able to use parts of the LabVIEW example programs, but you will need to replace the NI-DAQ VIs with VIs provided to you by your 3rd party hardware manufacturer. Please contact them for their LabVIEW driver and examples of how to use it. If you need help with non-DAQ programming to send an alarm, please post again in the LabVIEW category. Hope this helps. Have a great day!

  • Set High and Low Limits for an Item

    Hello Experts,
    We want to set up HI and Low Limits in SAP so that they can help us know when we are low on an Item. We would like to see when we are in a sales order and place an order for an Item that falls below the low limit the system will let us know and still allow us to place the order.
    The Low limits have to go on what is in inventory in warehouse 1 not what is on order. We would also like to be able to run a report that allows us to see what items are below the low limit and also which items are close to the low limit. ( Comparison Report).
    Any help in the above scenario would be appreciated.
    Regards,
    Praneeth

    Hi Parneeth,
    have you fill the data in item master data --> inventory tab --> minimum & maximum inventory level.
    u can define this for each warehouse.
    may this help u..
    Thanks,
    JRAJPUT
    Edited by: J2663312 on Jul 14, 2010 12:19 PM

  • In Numbers, can I highlight/colour differently to show high and low level requirements from the Y Axis?

    I have a line graph in Numbers 09, but would like to either fill the chart between two points on the Y axis which shows the upper and lower limits of a set of results. Is this possible? I don't seem to be able to select the two points I want and end up with the Grid lines being all the same colours when I select colour or the Chart fill is all or nothing!
    Thanks
    altv

    Jerrold Green1
    I have done it both ways, the way you have suggested, the drawing of two lines for Upper and Lower limits and a combination of the two. They are all working fine. As you say, with use, I'll find other things that can be done with it, certainly from an aesthetic point of view.
    Many thanks
    altv

  • I am not able to set high and low limits for each channel seperately using LabWindows/CVI

    I am using AI_StartAcquisition and AI_ReadAcquisition functions to acquire data using PCI 6025E DAQ card and iam using Lab/Wuindows/CVi5.0 software. But one of my transducer has its range in +/- 500 mV soi need to set the high low limits of each channel seperately for that i am using commond string function(cmd) but still i am not able to set the limits properly. Does anyone has any idea about this trouble

    You can set the gain on a per channel basis by using the lower level functions. (As opposed to the easy i/o functions.) For example, look at the "SCANsingleBufSync.C" NI-DAQ shipping example that uses the SCAN_Op() function. It's gain parameter is an array of gains that will allow you to change the input limits for each channel separately.
    -Russell

  • Why can't i change units while vi is running on horizonal fill slide?

    I have a horizonal fill slide with two sliders and units of sec. I want the user to be able to change the two digital displays from min to sec while the vi is running.
    right now, i can change the units on the slider itself correctly, but the digital displays don't update to the new units. how can i get the digital displys to update?

    Here's a peice of code that demonstrates it. push the first boolean, wait a bit, push the second, then change the units. the digital display units are not updated.
    Attachments:
    test_code.vi ‏51 KB

  • Color differences between high and low res images in Illustrator pdfs

    OK, I'm creating a tradeshow graphic for a client. I designed the whole thing in Illlustrator CS6. But for the proof, I used a low res image of the sky (before we purchased it). Everyone was happy. It was a low-res RGB image imported into Illustrator, then the whole thing was exported as a pdf.
    Once they approved it, I purchased the high res image. RGB. Same image... just high res. I popped it into the Illustrator file and exported it in exactly the same way. But now, the image looks much more purple. The low res pdf showed it as much brighter, lighter blue.
    My client prefers the lighter blue. When I look at the two images in Photoshop, they look the same (in terms of color).
    So... should I be worred? Why is there such a color difference? Thanks!
    I'm attaching jpgs of the pdfs just to show you the color differences.
    Julie

    Print Graphics: File >> Document Color Mode CMYK.
    Digital Graphics:  File >> Document Color Mode RGB.
    The PDF presets in Illusttrator will generate CMYK PDFs or PDFs in the colorpsace Illustrator is set to, (except for smallest file size which makes RGB PDFs).
    Firsst make sure you are in the correct colorspace in Illustrator before proceeding, adn make your imaeg CMYK if you are for example doing a banner for tradeshow. Backlit graphics are the only print graphics exception and should be RGB because Lambda printers actaully are native RGB.
    Open your lo and hi res in Phoothsop and compare the color values by watching the info aplette in Photoshop.
    When generating PDFs keep in minds that and RGB PDFs have different color than a CMYK PDF.

Maybe you are looking for

  • Key Figure Sorting in Workbook

    Hi Experts, I am creating a workbook where the key figures are supposed to be sorted in descending order. I tried using a Condition the displays the Top 100% of the results (because I want to display all, I just want to sort). The condition is workin

  • MSS Substitution Setup

    Hello, We are implementing MSS on Portal with ECC EHP 6. To let Managers Substitute Tasks to Others, do they need to goto UWL-> Manage Substitute Rules or there is a separate Application(Webdynpro Component)/iView for it available as part of the Stan

  • EMac CD tray issue (it's possessed!)

    This issue just started in the last 24 to 36 hours. The cd tray will open and close at random. I checked the case to make sure it was not in contact with the tray button. I disconnected the keyboard to make sure the tray key on the keyboard was not s

  • Exciting! BT Infinity being rolled out - could I h...

    Hello, I've been watching excitedly as the FTTC has been rolled all over our town (Ramsbottom) and the new Huawei cabs are being put in place. Hoorah. We are due to get Infinity in Q1 2011 and it's looking great. Our nearest cab is being installed to

  • Why not reduce the price for the pre-installed Aperture3?

    On the configuration page for the MBP, I find the cost for the Aperture 3 remain £173.00. I wish it preinstalled but it would be much cheaper to purchase through the App store. Is the premium paid to obtain a Aperture 3 CD? I am mystified. What is be