Uploaded image for project: 'Apache DirectMemory'
  1. Apache DirectMemory
  2. DIRECTMEMORY-135

code comment in MemoryManagerService.java is wrong

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Lightning-0.3.0
    • Lightning-0.3.0
    • core
    • None

    Description

      right comment:

      /**

      • Same function as {@link #store(byte[])}

        , but add an relative expiration delta in milliseconds
        *

      • @param payload : the data to store
      • @param expiresIn : relative amount of milliseconds the data will expire
      • @return the pointer to the value, or null if not enough space has been found.
        */
        Pointer<V> store( byte[] payload, long expiresIn );

      /**

      • Store function family. Store the given payload at a certain offset in a MemoryBuffer, returning the pointer to
      • the value.
        *
      • @param payload : the data to store
      • @return the pointer to the value, or null if not enough space has been found.
        */
        Pointer<V> store( byte[] payload );

      Attachments

        Activity

          People

            Unassigned Unassigned
            lichengwu Oliver Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: