public class LockServer extends Object
Modifier and Type | Field and Description |
---|---|
static HashMap<String,Long> |
constMap
Map of location - longest constancy expiration time.
|
static HashMap<String,LockServerThread.LockServerRecord> |
lockMap
Map of location - lock record.
|
Constructor and Description |
---|
LockServer()
Constructor with no arguments creates a server on default port.
|
LockServer(int port)
Constructor with port argument creates a server on specified port
|
public static final HashMap<String,LockServerThread.LockServerRecord> lockMap
public LockServer() throws Exception
Exception
public static void main(String[] args)
args
- Copyright © 2016 Egothor. All Rights Reserved.