Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Hockin (4.4 sec)

  1. double-checked-locking/etc/double_checked_locking_1.png

    double_checked_locking_1.png...
    Image
    - Registered: 2021-10-29 18:54
    - Last Modified: 2014-10-31 01:20
    - 11.7K bytes
    - Viewed (1)
  2. double-checked-locking/etc/double-checked-locking.png

    double-checked-locking.png...
    Image
    - Registered: 2021-10-29 18:54
    - Last Modified: 2015-05-31 09:59
    - 6.8K bytes
    - Viewed (1)
  3. double-checked-locking/pom.xml

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>com.iluwatar</groupId>
        <artifactId>java-design-patterns</artifactId>
        <version>1.25.0-SNAPSHOT</version>
      </parent>
      <artifactId>double-checked-locking</artifactId>
      <dependencies>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-engine</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    XML
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-04-05 11:57
    - 2.4K bytes
    - Viewed (0)
  4. double-checked-locking/etc/double-checked-locking.urm.puml

    @startuml
    package com.iluwatar.doublechecked.locking {
      class App {
        - LOGGER : Logger {static}
        + App()
        + main(args : String[]) {static}
      }
      class Inventory {
        - LOGGER : Logger {static}
        - inventorySize : int
        - items : List<Item>
        - lock : Lock
        + Inventory(inventorySize : int)
        + addItem(item : Item) : boolean
        + getItems() : List<Item>
      }
      class Item {
        + Item()
      }
    }
    Plain Text
    - Registered: 2021-10-29 18:54
    - Last Modified: 2019-12-07 16:03
    - 451 bytes
    - Viewed (1)
  5. balking/README.md

      amount of time
    
    ## Related patterns
    
    * [Guarded Suspension Pattern](https://java-design-patterns.com/patterns/guarded-suspension/)
    * [Double Checked Locking Pattern](https://java-design-patterns.com/patterns/double-checked-locking/)
    
    ## Credits
    
    Plain Text
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-05-19 16:49
    - 5K bytes
    - Viewed (0)
  6. lockable-object/src/main/java/com/iluwatar/lockableobject/LockingException.java

     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     * THE SOFTWARE.
     */
    
    package com.iluwatar.lockableobject;
    
    /**
     * An exception regarding the locking process of a Lockable object.
     */
    public class LockingException extends RuntimeException {
    
      private static final long serialVersionUID = 8556381044865867037L;
    
      public LockingException(String message) {
    Java
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-05-31 19:39
    - 1.4K bytes
    - Viewed (0)
  7. double-checked-locking/src/test/java/com/iluwatar/doublechecked/locking/AppTest.java

     * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     * THE SOFTWARE.
     */
    
    package com.iluwatar.doublechecked.locking;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
    
    /**
     * Application test
     */
    class AppTest {
    
      /**
    Java
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-02-14 09:57
    - 1.6K bytes
    - Viewed (0)
  8. retry/src/main/java/com/iluwatar/retry/App.java

     * parameters} in order to simulate not finding the customer.
     *
     * <p>Imagine that, lately, this operation has experienced intermittent failures due to some weird
     * corruption and/or locking in the data. After retrying a few times the customer is found. The
     * database is still, however, expected to always be available.  While a definitive solution is
    Java
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-02-14 09:57
    - 5.3K bytes
    - Viewed (0)
  9. naked-objects/dom/pom.xml

        </dependency>
        <dependency>
          <groupId>org.junit.vintage</groupId>
          <artifactId>junit-vintage-engine</artifactId>
          <scope>test</scope>
        </dependency>
        <!-- Bytecode libraries (for mocking) -->
        <dependency>
          <groupId>org.objenesis</groupId>
          <artifactId>objenesis</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.assertj</groupId>
    XML
    - Registered: 2021-10-29 18:54
    - Last Modified: 2021-10-19 17:54
    - 7K bytes
    - Viewed (0)
  10. double-checked-locking/etc/double-checked-locking.ucls

      realizations="true" associations="true" dependencies="false" nesting-relationships="true">  
      <class id="1" language="java" name="com.iluwatar.doublechecked.locking.Item" project="double-checked-locking" 
        file="/double-checked-locking/src/main/java/com/iluwatar/doublechecked/locking/Item.java" binary="false" 
        corner="BOTTOM_RIGHT">    
        <position height="124" width="205" x="146" y="504"/>    
    XML
    - Registered: 2021-10-29 18:54
    - Last Modified: 2015-07-24 08:32
    - 2.6K bytes
    - Viewed (1)
Back to top