com.paremus.dosgi.net.config.Config Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.paremus.dosgi.net Show documentation
Show all versions of com.paremus.dosgi.net Show documentation
An implementation of OSGi Remote Service Admin, enhanced to
provide support for OSGi Promises and streaming using OSGi
PushStreams.
The newest version!
/*-
* #%L
* com.paremus.dosgi.net
* %%
* Copyright (C) 2016 - 2019 Paremus Ltd
* %%
* Licensed under the Fair Source License, Version 0.9 (the "License");
*
* See the NOTICE.txt file distributed with this work for additional
* information regarding copyright ownership. You may not use this file
* except in compliance with the License. For usage restrictions see the
* LICENSE.txt file distributed with this work
* #L%
*/
package com.paremus.dosgi.net.config;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
@ObjectClassDefinition(pid="com.paremus.dosgi.net")
public @interface Config {
int client_worker_threads() default 8;
int client_io_threads() default 4;
int client_task_queue_depth() default 1024;
int server_worker_threads() default 8;
int server_io_threads() default 4;
int server_task_queue_depth() default 1024;
boolean share_io_threads() default true;
boolean share_worker_threads() default true;
boolean allow_insecure_transports() default false;
String[] client_protocols() default {"TCP;nodelay=true", "TCP_CLIENT_AUTH;nodelay=true;connect.timeout=3000"};
String[] server_protocols() default {"TCP;nodelay=true", "TCP_CLIENT_AUTH;nodelay=true"};
String server_bind_address() default "0.0.0.0";
int client_default_timeout() default 30000;
String encoding_scheme_target() default "";
}