What caan this method do

what does this methode do and how can i use it
StringBuilder insert(int offset, char c)
  what does the int offset stand for
tahnksin advance

there is automatically-generated documentationthat's
supposed to answer questions like that :
[url=http://java.sun.com/j2se/1.5.0/docs/api/index.htm
l]JavaDocs
if the op follows the link at the bottom of my post
it will display the javadoc for the StringBuilder
class.
however, the index is always a good place to start
and it makes a good bookmark
when it's become your homepage, it'll be time you realized you are a GEEEEEEEEEEEEEEEEEK
>
i think i'll read your other helpful link also, I've
seen it referenced before.I'm re-reading it right now... goddam' good reading that is... :)

Similar Messages

  • What would this method be in terms of code?

    Create an additional method named displayLine() that calculates the total cost (quantity * price) for the item,
    then displays the item number, name, quantity, and total cost.
    What would the code look like that it's asking me to put into my class?
    My class code:
    public class Invoice
    int number;
    String name = "";
    int quantity;
    double price;
    double total;
    public int getnumber()
    return number;
    public String getname()
    return name;
    public int getquantity()
    return quantity;
    public double getprice()
    return price;
    public void setnumber(int number)
    this.number = number;
    public void setname(String name)
    this.name = name;
    public void setquantity(int quantity)
    this.quantity = quantity;
    public void setprice(double price)
    this.price = price;
    }

    Or the displayLine() method instead or returning the totalCost about, could do the actual displaying or the information. Was it specified whether the code for displaying the values needs to be in the Invoice class or the main class that is doing the method call?
    If you were to do the displaying of the values right in the Invoice class you wouldn't need a return type. The method would be more like:
    public void displayLine(){
        double totalCost = 0.0;
        // totalCost calculation here
        // Fill in the () with the actual output string. name + " " + itemNumber etc.
       System.out.println();
    }If the displayLine() method needs to be in the main class that is doing the method call on the Invoice, it will look a little different.

  • What is wrong with this method?

    When i try to compile
         public double generateXPos()
              double d = Math.random()*100;
              if (d > 37.0)
                   generateXPos();
              else
                   return d;
    it says: "this method must return a result of type double", bit doesn't it do so?!?
    By the way I am using eclipse v. 3.0.1
    Thanks in advance,
    Floesch

    Because i could not think of this way of doing that,
    for i am a bloody beginner.A "bloody" beginner? You should wipe yourself off with a damp cloth.
    Could you tell me how to do it then?I can point you in the right direction. The first line of your method generates a number between 1 and 100. Either you intentionally wrote it to work that way, in which case you should very easily be able to re-write it to generate a number between 1 and 37 instead; Or, perhaps you copied it from somewhere else not understanding what it does, in which case you should take the time to understand it before continuing.
    Either way, as you now know that the first line generates a number between 1 and 100, you should be able to make a good guess at how to change it so that the generated number is between 1 and 37. If nothing at all springs to mind here, then I really genuinely do believe you aren't the kind of person that's gonna do well as a programmer.

  • HT201272 This method is exactly how I'm trying to get my music on my new iPod touch, it starts downloading but then stop and says unable to download at this time. What the **** is going on ?

    This method is exactly how I'm trying to get my music on my new iPod touch, it starts downloading but then stop and says unable to download at this time. What the **** is going on ?

    Try going to Settings>Store and sign out and sign back in.
    It also could be due to an Apple server problem. and yu will just have to wait and try again.

  • My macbook pro recognizes my sd card on the desktop, but when i go to the imovie importer it goes straight to isight camera. Ive imported via this method before but now i dont know whats going on.

    My macbook pro recognizes my sd card on the desktop, but when i go to the imovie importer it goes straight to isight camera. Ive imported via this method before but now i dont know whats going on.

    Use iMovie > Help on your Mac or here -> http://support.apple.com/kb/PH2153
    Treat the "sd card on the desktop" as a connected hard disk.
    Message was edited by: EZ Jim
    Mac OSX 10.7.4

  • To what class does this method belong?

    If one sees in the documentation something like
    - (retType *) text1:(Type1 *)aType1 text2:(Type2 *)aType2;
    then to what class does this method belong? I do not see in the Objective-C documentation any way that one can tell without the 'context' in which the method is declared or defined. This makes reading the documentation very difficult (for me). What you see is not what you get. There is stuff missing.
    In my world there is no difficulty in determining the class to which a method belongs. It is stated explicitly in the method name. For example:
    PROCEDURE (self: MyClass) methodName (arg1: Type1; arg2: Type2);
    and one sees that 'methodName' belongs to 'MyClass'.
    In Objective-C how does one know the class to which a method belongs? Is it only determined by context, that is, by the fact that it is within the @implementation section or that it is within the @interface section? If that is the case then I would think that in documentation one should always be required to assert something like:
    <<MyClass>> -(retType *) text1:(Type1 *)aType1 ...
    -Doug Danforth

    PeeJay2,
    I think I now have the distinctions needed but still have a question about what you said. But first here is my current understanding. A "method" is by definition bound to *at least* one class whereas a "message" need not be bound to any class. Hence one can send any message to any class and it will either be handled or ignored. A message looks like a method signature (and maybe one but is not constrained to be one).
    The difference between C++ and Objective-C is that in C++ method calls are not messages sent to a receiver. They are just calls of the method for the dynamically bound object. That method must be syntactically correct at compile time whereas messages need not be syntactically correct for any receiver. At least that is my current understanding.
    Now my question. You state that "casting the receiver of a message will in no way alter the flow of the code". I attempted to test this with a simple program but ran into a problem (see my new posting "Multiple classes in one file?").
    Assume the following
    @class Child : Parent
    Child *child = [[Child alloc] init];
    Parent *parent = [[Parent alloc] init];
    Parent *bar;
    bar = child;
    [bar doSomething]; // (C) call to child's doSomething method?
    [(Parent *)bar doSomething]; // (P) call to parent's doSomething method?
    You comment seems to say that both case (C) and (P) give the same result. If they do then which result is it the parent's or the child's method (assuming that the child has indeed reimplemented the parent's method)? Have I understood you correctly?
    -Doug Danforth

  • What this method does ?

    Q1.
    boolean isInterface()
              Determines if the specified Class object represents an interface type. what this method means ?
    Look it is saying "....object represents an interface type.. But an interface can not refer objects unless it is implemented by some concrete class.
    is there any polymorphism involved(i guess) ?
    i mean like this ......
    interface ABC
    // blah
    class CDE implements ABC
    // defined everything here
    ABC s = new CDE(); // it is legal
    does this method relates to this ?
    Am i right ? However code below is not comfortable.........
    Q2:
    Here is the code i stumbled................ It usues that method.
    Description: Determining If a Class Object Represents a Class or Interface
    Code:
    Class cls = java.lang.String.class; // Line-1.....is it valid !!!!
    boolean isClass = !cls.isInterface(); // true
    cls = java.lang.Cloneable.class; 
    isClass = !cls.isInterface(); // falseLook at Line-1.................i dont see any heirchy down the String class in the API.....( java.lang.String.class .....is it valid ? yes that bold .class !! ) its a peculiar use of String class !!.
    can anybody explain what is happening here. what reference who calls ?
    Thank you

    good explanation indeed.
    Look ur comment
    // By way of a string........why String ? why
    do i hardcode
    Class.forName("java.lang.String");......there
    are lots of Classes in the API who extends Object
    class.
    Look
    cls = java.lang.String.class // again u have
    hardcoded String class !!!
    It seems to me i need to hardcode always with
    String class( right ? no other class can be
    usued !!) to get the Class or Inteface type out of
    object.No, you can do it for any class: Class c1 = List.class;
    Class c2 = new List().getClass();
    Class c3  = Class.forName("java.util.List"); All are legal, and you can do that with any class or interface, not just String.
    So if you do something that gets a Class object--say the user enters a class name or interface name, and you pass that to Class.forName()--you can then call isInterface() to see if it's an interface.
    String classname = getStringFromUser(); // assume user enters "java.util.Comparator"
    Class klass = Class.forName(classname);
    boolean  isIxfc = klass.isInterface(); // true for java.util.Comparator

  • What does this message mean: "power pc applications are no longer supported"?

    What does this message mean: you can not start because power pc applications are no longer supported?

    Here is a post that I assembled for another who needed to continue to run his PowerPC applications in Lion/Mt. Lion:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PowerPC software or Lion/Mt. Lion;
    3.  Upgrade your software to Intel compatible versions, or find alternative software that will open your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • HT5625 I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    I'm trying to create a new Apple ID but when I was putting on my information, there's a box asking for an ITunes gift code. What's this and how can I get one?

    You're not obligated to insert a gift code. But you can purchase gift codes on the Apple online store (gift cards or certificates) or Apple Retail store
    Gift codes are pre paid cards so you can use credit on the iTunes Store to purchase content
    To create apple ID without payment method:
    http://support.apple.com/kb/HT2534?viewlocale=pt_PT

  • The loading bar at the bottom of my browser has disappeared and I want to reinstall or reactivate it. How do I do this please and what is this bar called? I use the lastest version of Firefox 3.6.3 and Windows XP.

    The loading bar at the bottom of my Firefox browser has suddenly disappeared and I want to reinstall or reactivate it. How do I do this please and what is this bar called? I use the latest version of Firefox 3.6.3 and Windows XP. I have many add ons and I usually automatically install the recommended updates. This problem has never happened before and switching my browser on and off again does not solve the issue.
    == This happened ==
    Every time Firefox opened
    == I am not sure why this suddenly happened. I think it may have been after my usual updates but I am not sure if that has anything to do with it at all.

    Loading Bar? Maybe the URL/address bar where you type sites you want to go to (like www.google.com)? See Navigation Bar below. You may also need to see the first item "Can't see the Menu Bar".
    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History, Bookmarks, Tools, Help)?
    Turning the Menu Bar on and off is a new feature in version 3.6.
    ''(Linux & OSX see: [[Menu bar is missing]] )''
    <u>''Windows'' Method 1.</u> '''''Hold down''''' the key and press the following letters in this exact order: V T M
    <u>''Windows'' Method 2.</u> Press and release the key. The Menu Bar will be displayed; then choose ~~red:V~~iew > ~~red:T~~oolbars and click on ~~red:M~~enu Bar.
    The Menu Bar should now be displayed permanently, unless you turn it off again using View > Toolbars. Check mark = displayed, NO check mark = not displayed.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''Navigation Toolbar, Bookmarks Toolbar and other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''
    You can un-install the Mozilla ActiveX control as Firefox no longer uses it and hasn't since, as I recall, version 2. See: [[ActiveX]]
    To remove Tools > Add-ons > Extensions, click on the item, click Uninstall, click Restart Firefox in the Extensions window.
    <u>'''''Other Issues'''''</u>: ~~red:You have installed plug-ins with known security issues. You should update them immediately.~~
    <u>'''Install/Update Adobe Flash Player for Firefox (aka Shockwave Flash)'''</u>: your ver. 10.0 r45; current ver. 10.1 r53 ('''important security update 2010-06-10''')
    ~~red:Check your version here~~: http://www.mozilla.com/en-US/plugincheck/
    See: '''[http://support.mozilla.com/en-US/kb/Managing+the+Flash+plugin#Updating_Flash Updating Flash]'''
    -'''<u>use Firefox to download</u>''' and <u>'''SAVE to your hard drive'''</u> (save to Desktop for easy access)
    -exit Firefox (File > Exit)
    -check to see that Firefox is completely closed (''Ctrl+Alt+Del, choose Task Manager, click Processes tab, if "firefox.exe" is on the list, right-click "firefox.exe" and choose End process, close the Task Manager window'')
    -double-click on the Adobe Flash installer you just downloaded to install/update Adobe Flash
    -when the Flash installation is complete, start Firefox, and test the Flash installation here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507&sliceId=1
    *<u>'''NOTE: On Vista and Windows 7'''</u> you may need to run the plugin installer as Administrator by starting the installer via the right-click context menu if you do not get an UAC prompt to ask for permission to continue (i.e nothing seems to happen). See this: http://vistasupport.mvps.org/run_as_administrator.htm
    *'''<u>NOTE for IE:</u>''' Firefox and most other browsers use a Plugin. IE uses an ActiveX version of Flash. To install/update the IE ActiveX Adobe Flash Player, same instructions as above, except use IE to download the ActiveX Flash installer.
    *Also see: http://kb.mozillazine.org/Flash ~~red:'''''AND'''''~~ [[How do I edit options to add Adobe to the list of allowed sites]]

  • Is this method of Cloning old ?

    DB version:10.2.0.4
    This is what we do to Clone our large Production DB(4 TB). Because of some practical issues, we don't do it in one day.
    After the DUPLICATE .... DORECOVER command. We keep the aux db in mount mode and keep applying arch logs generated at primary DB.
    This is what we do currently. Is this method of Cloning Old ?
    === Start====
    After the pre-requisite setup of tnsnames, listener.ora, password file , pfile
    Step1. Take the Full backup of Primary DB
    step2. Creation of stanby control file using -- at primary DB
    run {
    allocate channel d1 TYPE DISK connect 'sys/pass@mydb'  FORMAT   '/u02/bkp/mydb_cntr_%U.rmbk';
    backup current controlfile for standby;
         }Step3.
    Connect to Primary DB using
    rman target sys/pass@myproddb catalog rman/pass@rmancat AUXILIARY/and run
    duplicate target database for standby dorecover;Step4.
    Now at standby DB we issue the following command for Arch redo log apply.
    recover automatic standby database;Step5.
    After applying all the archivedlogs we issue
    alter database recover managed standby database finish force;Don't know exactly what this is for.
    Step6.
    alter database commit to switchover to primary;==== End ===

    No, it's not
    As the clone process takes long time for large databases, it's the best practice to create a standby db and apply archived redo log files that were generated during the clone process

  • Images have ? symbol on the top right corner of the thumbnail  what does this mean and how do I remove it?

    Q - My images have a
    ? symbol on the top right corner of the thumbnail what does this mean and how do I remove it?
    A - The
    ? symbol is used to identify a file that Lightroom can no longer access; probably because it has been moved using OS drag/drop or Move command rather than Lightroom.
    Click the
    ? symbol will cause a small dialog will appear. This dialog will provide information as to where the file was originally located along with an option to find (Locate) it again.
    As you'll quickly realise, clicking the
    ? symbol is fine for finding individual files that may have been relocated, but not for large numbers. There must be a better way
    Look at the Folder panel (left side of Library module) and you should find that the folder/subfolder containing the files that Lightroom can no longer find are shown in Red text. It is the red text that Lightroom uses to help you identify a folder/subfolder that contains files that it has lost track off.
    On the Mac you should
    Ctrl-click (right-click when using two button mouse) the folder/subfolder, a pop-up menu will appear. From the pop-up menu choose the command
    Locate Missing Folder, a dialog should appear. The dialog gives you access to every hard disk connected to your computer or CD/DVDs if they're in the tray. Use this dialog to navigate to the location where the folder is now located, then select this folder (not the files). Finally, press the
    Choose button and allow Lightroom to do its stuff.
    The method described above also applies to the PC version although the dialog is called
    Browse for Folder and the
    Choose button is replaced by
    OK.
    You can avoid getting into a situation were Lightroom looses track of your folders/subfolders by using a variation of above.
    A tutorial demonstrating above can be found
    Here

    Q - My images have a
    ? symbol on the top right corner of the thumbnail what does this mean and how do I remove it?
    A - The
    ? symbol is used to identify a file that Lightroom can no longer access; probably because it has been moved using OS drag/drop or Move command rather than Lightroom.
    Click the
    ? symbol will cause a small dialog will appear. This dialog will provide information as to where the file was originally located along with an option to find (Locate) it again.
    As you'll quickly realise, clicking the
    ? symbol is fine for finding individual files that may have been relocated, but not for large numbers. There must be a better way
    Look at the Folder panel (left side of Library module) and you should find that the folder/subfolder containing the files that Lightroom can no longer find are shown in Red text. It is the red text that Lightroom uses to help you identify a folder/subfolder that contains files that it has lost track off.
    On the Mac you should
    Ctrl-click (right-click when using two button mouse) the folder/subfolder, a pop-up menu will appear. From the pop-up menu choose the command
    Locate Missing Folder, a dialog should appear. The dialog gives you access to every hard disk connected to your computer or CD/DVDs if they're in the tray. Use this dialog to navigate to the location where the folder is now located, then select this folder (not the files). Finally, press the
    Choose button and allow Lightroom to do its stuff.
    The method described above also applies to the PC version although the dialog is called
    Browse for Folder and the
    Choose button is replaced by
    OK.
    You can avoid getting into a situation were Lightroom looses track of your folders/subfolders by using a variation of above.
    A tutorial demonstrating above can be found
    Here

  • What is correct method to deploy cluster aware technology using HA VMs?

    Dear all, 
    I recently had experience creating Hyper-V Server 2012 cluster. This allows for deploying a highly available virtual machine. That's fine. The business machine (virtual machine) becomes highly available. This includes an existing VM enabled to be highly
    available or a new VM installed into cluster from scratch.
    On the other hand; we have cluster aware applications (SQL Server, SCVMM etc.) which are installed in clustered OS (Windows 2008 R2 Enterprise edition which has failover clustering service) . 
    Just for clearing concept; what is correct way of deploying a cluster aware technology (SQL Server, SCVMM) in the scenario where the underlying OS; running in VM(s) can be made highly available. 
    Method 1:
    Create simple non clustered VM, install cluster aware application (SQL Server e.g.). Make this VM highly available using Hyper-V cluster.  (This seems to be clustering the VM running cluster aware application, not the cluster ware application; which
    requires clustering.)
    Method 2:
    Create HA-enabled  VM onto Hyper-V Servers cluster; install cluster aware application within this HA-enabled VM.   (This again; the underlying OS/VM is clustered first, the cluster aware application (SQL server or others) how would it leverage
    the cluster?)   
    Please shed light on what is correct method. In both cases it seems the VM running the cluster aware application; is made highly available; meaning leveraging clustering. What about clustering the application
    itself? The objective is to be able to not only make the VM highly available; but also deploy clustered SQL Server  or other cluster aware technology using such HA VM.
    Regards, 
    Shahzad.

    Dear all, 
    I recently had experience creating Hyper-V Server 2012 cluster. This allows for deploying a highly available virtual machine. That's fine. The business machine (virtual machine) becomes highly available. This includes an existing VM enabled to be highly
    available or a new VM installed into cluster from scratch.
    On the other hand; we have cluster aware applications (SQL Server, SCVMM etc.) which are installed in clustered OS (Windows 2008 R2 Enterprise edition which has failover clustering service) . 
    Just for clearing concept; what is correct way of deploying a cluster aware technology (SQL Server, SCVMM) in the scenario where the underlying OS; running in VM(s) can be made highly available. 
    Method 1:
    Create simple non clustered VM, install cluster aware application (SQL Server e.g.). Make this VM highly available using Hyper-V cluster.  (This seems to be clustering the VM running cluster aware application, not the cluster ware application; which
    requires clustering.)
    Method 2:
    Create HA-enabled  VM onto Hyper-V Servers cluster; install cluster aware application within this HA-enabled VM.   (This again; the underlying OS/VM is clustered first, the cluster aware application (SQL server or others) how would it leverage
    the cluster?)   
    Please shed light on what is correct method. In both cases it seems the VM running the cluster aware application; is made highly available; meaning leveraging clustering. What about clustering the application
    itself? The objective is to be able to not only make the VM highly available; but also deploy clustered SQL Server  or other cluster aware technology using such HA VM.
    Regards, 
    Shahzad.
    With SQL Server both M1 and M2 are by far the best solutions. See guest VM cluster is non-optimal as SQL Server works better with own clustering features (AlwaysOn, see link below). And HA would make VM re-boot on another physical host so there would be
    both downtime and potential data loss. Run SQL Server in a pair of VMs on a different physical hosts, configue AlwaysOn (use failover SMB share as a witness) and you'll be fine. See:
    Overview of AlwaysOn Availability Groups (SQL Server)
    http://technet.microsoft.com/en-us/library/ff877884.aspx
    How to Build SQL Server
    2012 AlwaysOn Hyper-V Virtual Machines
    http://social.technet.microsoft.com/wiki/contents/articles/6198.how-to-build-sql-server-2012-alwayson-hyper-v-virtual-machines-for-demos-emu-build.aspx
    SQL Server 2012 AlwaysOn High Availability and Disaster Recovery Design Patterns
    http://blogs.msdn.com/b/sqlcat/archive/2013/11/20/sql-server-2012-alwayson-high-availability-and-disaster-recovery-design-patterns.aspx
    Also the best place to ask about SQL Server High Availability is dedicated MSFT group here:
    SQL Disaster Recovery Forum
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?forum=sqldisasterrecoveryHope
    this helped :)
    StarWind VSAN [Virtual SAN] clusters Hyper-V without SAS, Fibre Channel, SMB 3.0 or iSCSI, uses Ethernet to mirror internally mounted SATA disks between hosts.

  • Class.this.method overriding inheritance trying to understand

    Hi I saw a piece of code that calls MyClass.this.aFunctionOverriddenByMeThatIsInMySuperClass ()
    Im just looking for some clarity on how this works what function this actually calls and why someone would write code in this manner.
    I have created a simpler version below
    2 class A and B and there basic functionality is described in each
    class A {
    public A (){};
    public int func1 () { return 1; }
    class B extends A {
    public B (){};
    public int func1() { return 0; } //note this returns 0 where A.func1 = 1
    public int myFunc() { return B.this.func1(); }
    //public int myOtherFunc() { return A.this.func1(); } //NOT LEGAL wont compile
    B.java:5: not an enclosing class: A //pardon the stupidity but what is an enclosing class??
    public int myOtherFunc() { return A.this.func1(); }
    class D extends B {
    public D (){};
    public int func1(){ return 4; }
    class C
    public static void main (String [] args)
    A a = new A();
    B b = new B();
    D d = new D();
    System.out.println(a.func1()); //prints 1
    System.out.println(b.func1()); //prints 0
    System.out.println(b.myFunc()); //prints 0
    System.out.println(d.myFunc()); //prints 4
    I guess my assumption is that using MyClass.this.someOverriddenFunction allows the subclass to have more control ??
    any thought or comment would be much appreciated.
    thanks

    Do you know what inner classes are? Inner classes are classes that are defined within another class. If an inner class is not declared as static, it needs an instance of the class it is defined within to exist, this is the enclosing class. MyClass.this can be used so that the inner class can explicitly invoke methods on it's enclosing instance

  • Forced Due to Logging Gap what does this mean

    It seems to be new in SP 2013 that when monitoring the ULS logs there are large instances of the phrase
    Forced due to logging gap :
    Can someone advise as to the exact meaning of this? There are extremely few references on the net, only a few examples of people posting their ULS entries for unrelated questions.
    Seems a bit odd as it is extremely common in our logs - kind of a bummer as it must contribute a measurable amount to log file size bloat.
    Keith Tuomi | Twitter: @itgroove_keith | Blog:
    http://yalla.itgroove.net
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

    Courtesy of Eric Shupps:
    I’ve found what it’s doing but not how to modify the behavior.  In the Microsoft.SharePoint.Diagnostics.ULS class there is a private method called “HandleLoggingGaps”. 
    This method is called before trace data is sent to the log in several of the core logging methods.  When called, it checks both the LastSkippedTraceTime value and the last traced time in the current correlation context plus a variable called MaxLoggingGap
    against the current date/time.
    The MaxLoggingGap value is set by default to 50 milliseconds but there is an environment variable “_ULS_MAX_LOGGING_GAP_IN_MILLISECONDS_” that it will use instead
    if that variable contains a value.  This would seem to indicate that the gap time is configurable but I have yet to find the setting that will do so.  I did some reflecting of the powershell cmdlets but so far not found any direct correlation (although
    EventLogFloodProtectionQuietPeriod  and EventLogFloodProtectionNotifyInterval in the set-spdiagnosticconfig cmdlet look promising).
    Keith Tuomi | Twitter: @itgroove_keith | Blog:
    http://yalla.itgroove.net
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you.

Maybe you are looking for

  • Itunes 11 update; entercounted a problem and needs to close

    Itunes has encountered a problem and needs to close , After I Uninstall everything containing apple & did the window ulitly than downloaded itunes again & It still said this. I have unistalled , clean up , & download again & again and this keeps popp

  • Starvation in EJB/MDB thread pool ?

    I am re-posting this article including the acronym EJB in the subject so that the EJB experts don't overlook this question. This question was moved from the JMS newsgroup to this newsgroup by a BEA moderator. Our application receives 10 different typ

  • CSS and Firefox

    The Firefox guys have done an update recently and since then, pages that previously displayed OK in Firefox (not exactly the same as IE but acceptable) now look very different. www.geckoheadgear.co.uk has dropped much of the CSS instruction, other si

  • What is the Mac equivlent to internet explorer?

    Hello, I have a ebay account and have been unable to relist some of my items. Ebay techincal support suggested getting internet explorer 6 but this is not Mac compatiable. Please can someone advise what the Mac equivlent would be and where I can down

  • Issue with saving GTC connector

    After generation of mappings in GTC when I try to save the mapping I get the following error on the web console: An error occurred while saving the information for generic technology connector GTCTRUSTED. Check the application logs for more details.