Codota Logo
LogBuffer.init
Code IndexAdd Codota to your IDE (free)

How to use
init
method
in
org.objectweb.howl.log.LogBuffer

Best Java code snippets using org.objectweb.howl.log.LogBuffer.init (Showing top 3 results out of 315)

  • Common ways to obtain LogBuffer
private void myMethod () {
LogBuffer l =
  • Codota IconLogBufferManager logBufferManager;logBufferManager.getLogBuffer(-1)
  • Codota IconConstructor function Object() { [native code] };(LogBuffer) function Object() { [native code] }.newInstance(new Object[]{config})
  • Smart code suggestions by Codota
}
origin: apache/felix

freeBuffer[nextIndex] = null;
try {
 fillBuffer = b.init(nextFillBSN, lfm);
} catch (LogFileOverflowException e) {
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.howl

freeBuffer[nextIndex] = null;
try {
 fillBuffer = b.init(nextFillBSN, lfm);
} catch (LogFileOverflowException e) {
origin: org.apache.servicemix.transaction/org.apache.servicemix.transaction

freeBuffer[nextIndex] = null;
try {
 fillBuffer = b.init(nextFillBSN, lfm);
} catch (LogFileOverflowException e) {
org.objectweb.howl.logLogBufferinit

Javadoc

initialize members for LogBuffer implementation class for reuse.

LogBufferManager maintains a pool of LogBuffer objects. Each time a LogBuffer is allocated from the pool for use as the current collection buffer, the init() routine is called. After performing necessary initialization, the LogBuffer invokes the LogFileManager to obtain a LogFile for use when writing and forcing the buffer. If a file switch occurrs, the LogFileManager will store a file header record into this newly initialized buffer.

Popular methods of LogBuffer

  • getStats
    returns statistics for this LogBuffer object.information is returned in the form of an XML node that
  • getWaitingThreads
    returns the number of threads currently waiting for the buffer to be forced to disk.
  • put
    puts a data record into the buffer and returns a token for record.PRECONDITION: caller holds a buffe
  • read
    read a block of data from the LogFile object provided in the lf parameter starting at the position s
  • release
    decrements count of waiting threads and returns updated value.
  • shouldForce
    returns true if the buffer should be forced to disk.The criteria for determining if a buffer should
  • sync
    park threads that are waiting for the ByteBuffer to be forced to disk.The count of waiting threads (
  • write
    write ByteBuffer to the LogFile.updates the buffer header with the number of bytes used. Based on co

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now