How to get an object attribute complex without deserializing?

Hello

I have a cache partitioned my complex objects. The complex object implements PortableObject. Client-side (client Extend) I need to get the object of the key cache, to get one of his attributes (double) and send it (back) to the outside. How can I get my attribute of the object without deserialize the entire object? My intention was to use PofExtractor, but I don't see how it can be used in my scenario. Is it possible to do?

Thank you, Denis.

Hi Denis,.

See http://download.oracle.com/otn_hosted_doc/coherence/353/com/tangosol/util/processor/ExtractorProcessor.html:

    Double d = (Double) cache.invoke(oKey, new ExtractorProcessor(new PofExtractor(Double.class,  iProp)));

Kind regards
Dimitri

Tags: Fusion Middleware

Similar Questions

  • How to get the object request or session in action jpf in WebLogic Portal 8.1

    I am using WebLogic Portal 8.1. I want to get the parameters of query/attributes in the flow (jpf) page controller action method. Can someone help me how to get objects session or request to the page (CCP) flow control.

    getRequest() (inherited method gives extended request)
    ScopedServletUtils.getOuterRequest (scopedRequest) gives the main query

  • How to get my application attributes?

    Hello

    I want to get my application of attributes such as vendor, Version, title, and Description. And all that stuff to display on the screen inside my application. How can I get my application attributes? Code snippets?

    Best regards.

    // Retrieve a handle for a module.
     int handle = CodeModuleManager.getModuleHandle("test_module");
    
     // Retrieve specific information about a module.
     String name = CodeModuleManager.getModuleName( handle );
     String vendor = CodeModuleManager.getModuleVendor( handle );
     String description = CodeModuleManager.getModuleDescription( handle );
     int version = CodeModuleManager.getModuleVersion( handle );
     int size = CodeModuleManager.getModuleCodeSize( handle );
     int timestamp = CodeModuleManager.getModuleTimestamp( handle );
    
     // Retrieve an array of handles for existing modules on a BlackBerry device
     int handles[] = CodeModuleManager.getModuleHandles();
    
  • How to get the query execution time without running...?

    Hello

    I had one condition... as follows...
    I had 3 sql statements. I need to run only sql what runtime is very less.

    Can someone help me, how to get the time query and run this query without using explain plan... ?

    Thank you
    Rajesh

    I can't think in any way at all to get the query execution time without running the query.

    You might get an estimate ( approximation ) If you are using explain plan.

    But you have governed to explain plan for a reason, so I can't help you.
    Why you do not want to use don't explain plan?

  • [CS5.5] [JS] how to get the object that is anchored by a text search result?

    Hello

    I need to get the object that is anchored by a text search result. It can be an image, textframe, group objects...

    It's my code...

    app.findTextPreferences = NothingEnum.nothing;

    app.findTextPreferences.findWhat = "< FFFC > ';

    var myResults = app.activeDocument.findText ();

    var currentParagrapfNum = - 1;

    for (var n = 0; n < myResults.length; n ++) {}

    var currentResult = myResults [n];

    currentParagrapfNum = currentResult.paragraphs [0] .index;

    var currentAnchoredObject =? ;

    currentAnchoredObject.anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;

    currentAnchoredObject.anchoredObjectSettings.verticalReferencePoint = VerticallyRelativeTo.LINE_BASELINE

    }

    Can someone help me please?

    Thanx

    Yes, true, ^ anchor of finds, but they are of type character. What you need is

    myResults[n].pageItems[0].anchoredObjectSettings.horizontalReferencePoint = AnchoredRelativeTo.TEXT_FRAME;

    Peter

  • How to get all the attributes of the component of action script

    Hello

    I'm new to flex. I use ActionScript 3.

    I have a component with the name template1.mxml. In this, I have 10 text boxes with the unique id

    I want to erase all the text boxes when the user clicks on the button "delete".

    For this feature, I need to wirte something like that

    "

    templateObj.name.text ="";

    templateObj.address.text ="";

    templateObj.city.text ="";

    templateObj.like.text ="";

    ".

    I have 25 models like this one, and all models have different attributes. The above code became cumbersome for me.

    Is there a way I can get the picture of the id attribute of the object then iterate over this array and write only one line

    Like that: -.

    for each (var i in templateAttrArray) {}

    templateObj.templateAttrArray [i] .text ="";

    }

    I tried the getChildren(); methods, but he's back, whatever it is.

    There may be solutions for this one?

    Any help appreciated.

    Thank you

    Tushar Gandhi

    Hi there, that should do it


    http://www.Adobe.com/2006/mxml"layout ="absolute">
       
            Import mx.controls.TextInput;
    private void clearAll (): void {}
    {for each (var ti: TextInput in {vbox.getChildren ())}
    TI. Text = "";
    }
    }
               
               
    ]]>
       

       
           
           
           
           
           
       

       

  • How to get normal Windows 7 updates without installing Windows 10?

    Hello world

    I've been a happy user of Windows 7 and have always wanted to have Microsoft warn me of updates are available for my system. I am very careful to keep them, but I want to install them manually, myself.

    Two days earlier, Windows Update started showing the Windows 10 to upgrade, as an important update and advised me to... "Start install now."

    I've been delaying this until I have decide exactly WHEN to do it, on my own terms. Is there a program that I use and that has quite developed a version of Win 10 still. I want to improve when that is developed.

    However, I am now unable to install any other updates to my Windows 7 operating system, without having to install Windows 10.

    I tried to get the optional update, which is available now, but cannot because the... "Start installation now..." Win 10 update starts automatically as soon as I decide to download the optional update.

    It is the first time this has ever happened, and it is really annoy me.

    Is it possible to continue to get Windows 7 upgrades without HAVING to install Win 10?

    Any advice would be much appreciated.

    Thank you

    I found this and followed the instructions for the 'response '.  Make sure that you restart your computer after masking the KB3035583 update.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-update/automatic-update-failure/dd3c2b13-37f4-42E3-a0d3-53e5b9a9a750

  • How to get the VM with or without thin disk in VC Server

    I need to get my Vm list all in my server VC who have the fine disc and one of them is not a thin disk.

    I do not understand it can be done in CLI power and I have Vmware Vsphere CLI installed power. I also find some scripts on the net, but I don't know how to use them

    Please suggest step by step how to run these scripts and where console as well?

    Thank you

    Deepak

    If you have the names of these servers in a CSV file with this provision.

    Name
    server1
    server2
    ....
    

    You can use a script like this

    $report = @()
    Import-Csv "C:\My-Csv-file.csv" | %{
         $vm = Get-VM $_.Name
         $vm | Get-HardDisk | %{
              $row = "" | Select VMname, Folder, HDname, HDformat
              $row.VMname = $vm.Name
              $row.Folder = (Get-View $vm.FolderId).Name
              $row.HDname = $_.Name
              $row.HDformat = $_.StorageFormat
              $report += $row
         }
    }
    $report | Export-Csv "C:\VM-disk.csv" -NoTypeInformation -UseCulture
    

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • How to get external file´s size without loading it?

    Hi guys, I m here for you once again ask for your help. I m trying to build a ' file load external class "which allows to calculate the percentage of files loaded while it loads a file per hour. But I want to use it without building a loading queue system. I just want to know the method all my external files size (just the number of bytes) without charge. Is there a way?

    There is no way for a web-based application information on the file without loading.

    You may be able to get information about the file when you use a projector or air without loading application.

    you create a projector or the application of air?

  • How to query the object attribute changed his mind in another display object

    JDeveloper 10.1.3.4

    My requirement is I want to be able to query an object (entity based) view on a nonkey attribute where the value I'm looking on can either be in the database on an existing record or only been experienced by updating a different point of view object based on the same entity (and still commit).

    When you query the second display of a value object just updated via a different point of view object, the second view object always returns no rows. I thought that the process is:

    EntityA
    ViewObjectA based on EntityA
    ViewObjectB based on EntityA

    ViewObjectA - line query with the key = 123. update the attribute Y with value 456 (attribute Y in the null database). Feature for EntityA cache, touch 123, attribute is updated with the value 456
    ViewObjectB - line application with attribute = y. wait record in EntityA just updated cache to be returned. Instead, nothing is returned

    Here is the code I was using (where RandScheduleEdit and RandScheduleSearch are the same view the entity RandSchedule object-based objects)
      public static void main(String[] args) {
        String        amDef = "test.cache.model.AppModule";
        String        config = "AppModuleLocal";
        ApplicationModule am = Configuration.createRootApplicationModule(amDef,config);
        
        ViewObject rsEdit = am.findViewObject("RandScheduleEdit");
        Key rsKey = new Key(new Object[]{40});
        Row[] rsEditRows = rsEdit.findByKey(rsKey,1);
        Row rsEditRow = rsEditRows[0];    
        rsEditRow.setAttribute("SId", new Number(7827));
        
        ViewObject rsSearch = am.findViewObject("RandScheduleSearch");
        rsSearch.setWhereClause("S_ID = :SId");
        rsSearch.defineNamedWhereClauseParam("SId", null, null);
        rsSearch.setNamedWhereClauseParam("SId",new Number(7827));
        rsSearch.executeQuery();
        Row rsSearchRow = rsSearch.first();
        
        Configuration.releaseRootApplicationModule(am, true);
      }
    Why not rsSearch finds the S_ID = 7827 record? It seems to only be interviewing new records in the database and ignoring the record updated in cache just updated?

    Any help much appreciated.

    See you soon,.
    Brent

    rsSearch.setNamedWhereClauseParam ("SId", new Number (7827));

    This might help:
    rsSearch.setQueryMode (ViewObject.QUERY_MODE_SCAN_ENTITY_ROWS);

    rsSearch.executeQuery ();

  • How to get the OS on labtop without recovery or software CD?

    Hard drive of my labtop came out and supposed to be the backup OS was disk a hard artificial created on the main hard drive.  I was not allowed to do recovery CD.  I have the COA on the labtop but I just need to know my next course of action.  Is it possible to get it from the hard drive or not?  If it helps my labtop is a Compaq Presario V2610 with AMD Mobile Sempron 3000 + 1.8 Ghz if that helps.

    Thank you
    Gabe

    Hello Gabriel,

    Here, your best bet is to contact the manufacturer on this issue and see if you can get a recovery of their own media.

    Best regards

    Matthew_Ha

  • How to get scrolling objects to align to the right of the browser

    I can't my objects or scrolling in general to align with the right side of the browser. Any ideas? CREATIVE

    I believe you are referring to scroll content page to the right of the page? I see in your site when I check it.

    If this isn't what you are looking for, please let me know the details.

    Thank you

    Sanjit

  • PSE10 - how to get help online on PC without Internet access?

    Hello

    Our company bought several licenses of Photoshop Elements 10 and I would like the installation of packages in order to be able to install it with SCCM (formelly named SMS) on PC.

    The question we have is that the PC in our society do not have Internet access, so users cannot, after the installation, download the online help... and since there is currently not out included help, it means that they have no help at all.

    Can you let us know where the aid in question is copied when it is downloaded, so that our packaging team will be able to download these files from a PC with Internet access, then add them together, so that our users will be able to read the help (F1), even if they have no Internet access?

    Thanks a lot for your answer

    Yes you can do so by changing the settings in the Adobe help Manager

    Open Adobe Help.exe location: c:\program files (x 86) \Adobe\Adobe help

    Then in the prefrences download section, you can select the products you want to get offline help

    In the update section select manually

    In the section "local content": select the product, and then click UPDATE

    When using offline is downloaded, and then in the general section, select Yes (this will make the default value of local aid)

    Now if you can switch to offline mode and press F1 in the program, it will open local help

    It could be useful!

  • How to get the static attribute by using its name as a string

    I have an app with about 100 boxes of single drop-down list (this is a requirement of the Government, I'm not that bad a designer) and I would like to define the choices in a single file separated like this:

    package components {}

    Import mx.collections.ArrayCollection;

    public class {choice}

    [Bindable] public static var A0310A: collection ArrayCollection = new ArrayCollection ([] collection
    {value: '01', label: 'Admission'},
    {value: "02", label: "Quarterly"},
    .. .snip...
    ([{value: "99", label: "NOT the OBRA required"}]) ;

    public static void getChoices(name:String):ArrayCollection {}
    var temp: ArrayCollection = collection?
    Return temp;
    }

    }//----------------end of class--------------------------------
    }//======================== end of package==============================

    I want to use it like this

    < my: ComboBox id = "mdscombo" tag = "A0310A" / >

    Where the definition of my: ComboBox includes the code like this

    var zz:ArrayCollection = Choices.getChoices (name);

    but I can not find any function that will allow me to do.  I don't want really clutter up the code by creating a name-> object mapping table.

    I had also considered using the XML data type, but I have the same question, unless I had all the choices under a single root (possible), but this could be a nightmare when debugging in typo XML file.

    Any suggestions?

    To answer your question, you can access static variables with a chain in this way:

    Choice ["A0310A"]

    However, you probably want to re-evaluate your design because this isn't a very desirable approach.

  • How to get the object all save as Png adobe Illustrator

    Hello

    I'm trying to save as adobe illustrator .ai file .png file

    but all the object in different png files is that poosible

    If possible can someone help me...

    var f = new File ("C:\\test.txt");
    f.Open ("a");

    Len = app.activeDocument.pageItems.length;

    for (i = 0; i<>
    {
    c = App.activeDocument.pathItems [i] .visibleBounds;

    f.writeln (c);
    }

    f.Close ();

Maybe you are looking for