public class TransactionStatusManagerItem extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
createAndSave(int port)
Deprecated.
Only used in tests
|
static boolean |
createAndSave(String hostAddress,
int port) |
static TransactionStatusManagerItem |
get()
Returns reference to this transaction status manager item.
|
Date |
getDeadTime()
Return time when process marked dead.
|
String |
host()
Accessor method for host in format xxx.xxx.xxx.xxx
|
void |
markAsDead()
The process has died.
|
int |
port()
Accessor method for the port used by this object.
|
static TransactionStatusManagerItem |
recreate(Uid uid)
Crash Recovery uses this method to recreate a
representation of the Transaction Status Managers
host/port pair contact.
|
static boolean |
removeThis(Uid pidUid)
Destroy the host/port pair for the specified process Uid.
|
static String |
typeName()
Type used as path into object store for a TransactionStatusManagerItem.
|
public static boolean createAndSave(int port)
public static boolean createAndSave(String hostAddress, int port)
public String host()
public int port()
public void markAsDead()
public Date getDeadTime()
public static TransactionStatusManagerItem get()
public static TransactionStatusManagerItem recreate(Uid uid)
public static boolean removeThis(Uid pidUid)
public static String typeName()
Copyright © 2021 JBoss by Red Hat. All rights reserved.