ScaleCube Application Utils

ScaleCube is a lightweight decentralized cluster membership, failure detection, messaging and gossip protocol library for the Java VM.

License

License

GroupId

GroupId

io.scalecube
ArtifactId

ArtifactId

scalecube-app-utils
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

ScaleCube Application Utils
ScaleCube is a lightweight decentralized cluster membership, failure detection, messaging and gossip protocol library for the Java VM.
Source Code Management

Source Code Management

https://github.com/scalecube/scalecube-app-utils

Download scalecube-app-utils

How to add to project

<!-- https://jarcasting.com/artifacts/io.scalecube/scalecube-app-utils/ -->
<dependency>
    <groupId>io.scalecube</groupId>
    <artifactId>scalecube-app-utils</artifactId>
    <version>0.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/io.scalecube/scalecube-app-utils/
implementation 'io.scalecube:scalecube-app-utils:0.0.4'
// https://jarcasting.com/artifacts/io.scalecube/scalecube-app-utils/
implementation ("io.scalecube:scalecube-app-utils:0.0.4")
'io.scalecube:scalecube-app-utils:jar:0.0.4'
<dependency org="io.scalecube" name="scalecube-app-utils" rev="0.0.4">
  <artifact name="scalecube-app-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.scalecube', module='scalecube-app-utils', version='0.0.4')
)
libraryDependencies += "io.scalecube" % "scalecube-app-utils" % "0.0.4"
[io.scalecube/scalecube-app-utils "0.0.4"]

Dependencies

test (1)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.2.0

Project Modules

There are no modules declared in this project.

scalecube-app-utils

Usage

Logo.builder().tagVersion(packageInfo.version())
        .port(String.valueOf(seed.cluster().address().port()))
        .ip(seed.cluster().address().host())
        .group(packageInfo.groupId())
        .artifact(packageInfo.artifactId())
        .javaVersion(packageInfo.java())
        .osType(packageInfo.os())
        .pid(packageInfo.pid())
        .hostname(packageInfo.hostname())
        .website().draw();
        

Logo.from(packageInfo)
        .port(String.valueOf(seed.cluster().address().port()))
        .ip(seed.cluster().address().host())
        .draw();
        

Print-out:

                         .,,,,,,                          
                       .,,,,,,,,,,,,/                     
                  .,,,,,,,,,,,,,,,,,,,.                   
               .,,,,,,,,,,,,,,,,,,,,,,,,,,,.              
            .,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,.           
         ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,        
     ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,             ScaleCube Development is Running.
     *  ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*               Group: Development
     ***** /,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,/  ....            Artifact: Development
     ******** /*,,,,,,,,,,,,,,,,,,,,,,,,,,,,/  .......            Java: 1.8.0_131
     ***********, /,,,,,,,,,,,,,,,,,,,,,*  ...........            OS: Windows 10
     ***************. *,,,,,,,,,,,,,*/ ...............            PID: 4312
     ******************, /*,,,,,,/  ..................            Host Name: my-host-name
     ********************** /*/  .....................    
     ************************ ........................            http://scalecube.io
     ************************ ........................            https://github.com/scalecube
     ************************ ........................    
     ************************ ........................    
     ************************ ........................    
     ************************ ........................    
     ************************ ........................    
     ************************ ........................    
         ******************** ....................        
            ***************** .................           
                ************* .............               
                   ********** ..........                  
                       ****** ......                      
                          *** ...                         
io.scalecube

SCΛLΞ CUBΞ

⚛ High-Speed ⚛ Cloud-Native ⚛ Reactive Microservices ⚛

Versions

Version
0.0.4
0.0.3
0.0.2
0.0.1